feat: simplify agent permissions and require current ZIP backups
This commit is contained in:
1 parent
efc2c7c734
commit
91c489513a
51 files changed
+1680
-1270
No files matched your search
@@ -1880,3 +1880,158 @@ textarea,
|
||||
.agent-panel form > label input[type='checkbox'] {
|
||||
width: auto;
|
||||
}
|
||||
.agent-heading,
|
||||
.agent-copy-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.agent-heading h2,
|
||||
.agent-card h3 {
|
||||
margin: 0;
|
||||
}
|
||||
.agent-layout {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1.25rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.agent-wide {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.agent-card {
|
||||
min-width: 0;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 14px;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
.agent-card p {
|
||||
line-height: 1.65;
|
||||
}
|
||||
.agent-copy-row .agent-address {
|
||||
flex: 1;
|
||||
min-width: 12rem;
|
||||
}
|
||||
.agent-steps {
|
||||
padding-left: 1.25rem;
|
||||
line-height: 1.75;
|
||||
}
|
||||
.agent-steps li {
|
||||
margin: 0.6rem 0;
|
||||
}
|
||||
.agent-tutorial {
|
||||
width: 100%;
|
||||
resize: vertical;
|
||||
line-height: 1.65;
|
||||
user-select: text;
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
.agent-details {
|
||||
border-top: 1px solid var(--line);
|
||||
padding-top: 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.agent-details summary {
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.agent-details pre,
|
||||
.agent-details code {
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
user-select: text;
|
||||
}
|
||||
.agent-details ul {
|
||||
padding-left: 1.25rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.agent-details li p {
|
||||
margin: 0.25rem 0 0.75rem;
|
||||
}
|
||||
.agent-capabilities,
|
||||
.agent-scope-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
.agent-scope-grid article {
|
||||
background: var(--bg);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
padding: 1rem;
|
||||
}
|
||||
.agent-panel .agent-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
.agent-panel .agent-form > label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
.agent-scope-options {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
padding: 0.8rem;
|
||||
}
|
||||
.agent-scope-options label {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
.agent-scope-options input {
|
||||
width: auto;
|
||||
flex: none;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.agent-scope-options small {
|
||||
display: block;
|
||||
margin-top: 0.25rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.agent-secret,
|
||||
.agent-notice {
|
||||
padding: 1rem;
|
||||
background: var(--bg);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.agent-row > div {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.agent-row p {
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
@media (max-width: 800px) {
|
||||
.agent-layout,
|
||||
.agent-capabilities,
|
||||
.agent-scope-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.agent-wide {
|
||||
grid-column: auto;
|
||||
}
|
||||
.agent-card {
|
||||
padding: 1rem;
|
||||
}
|
||||
.agent-row {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.agent-tabs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
.agent-tabs button {
|
||||
min-height: 40px;
|
||||
}
|
||||
Reference in new issue
Block a user