@intentic/sandbox-contract 1.333.1 → 1.335.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -3
- package/dist/contracts/accounts.contract.d.ts +11 -11
- package/dist/contracts/activity.contract.d.ts +1 -0
- package/dist/contracts/activity.contract.d.ts.map +1 -1
- package/dist/contracts/activity.contract.js +1 -1
- package/dist/contracts/activity.contract.js.map +1 -1
- package/dist/contracts/agent.contract.d.ts +102 -18
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +163 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.js +10 -1
- package/dist/contracts/agents.contract.js.map +1 -1
- package/dist/contracts/audit.contract.d.ts +84 -0
- package/dist/contracts/audit.contract.d.ts.map +1 -0
- package/dist/contracts/audit.contract.js +43 -0
- package/dist/contracts/audit.contract.js.map +1 -0
- package/dist/contracts/automations.contract.d.ts +15 -0
- package/dist/contracts/automations.contract.d.ts.map +1 -1
- package/dist/contracts/ci.contract.d.ts +10 -0
- package/dist/contracts/ci.contract.d.ts.map +1 -1
- package/dist/contracts/compliance.contract.d.ts +163 -0
- package/dist/contracts/compliance.contract.d.ts.map +1 -0
- package/dist/contracts/compliance.contract.js +41 -0
- package/dist/contracts/compliance.contract.js.map +1 -0
- package/dist/contracts/device.contract.d.ts +6 -0
- package/dist/contracts/device.contract.d.ts.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +2 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/loops.contract.d.ts +15 -0
- package/dist/contracts/loops.contract.d.ts.map +1 -1
- package/dist/contracts/needs.contract.d.ts +49 -0
- package/dist/contracts/needs.contract.d.ts.map +1 -1
- package/dist/contracts/offload.contract.d.ts +5 -0
- package/dist/contracts/offload.contract.d.ts.map +1 -1
- package/dist/contracts/personas.contract.d.ts +10 -0
- package/dist/contracts/personas.contract.d.ts.map +1 -1
- package/dist/contracts/providers.contract.d.ts +2 -0
- package/dist/contracts/providers.contract.d.ts.map +1 -1
- package/dist/contracts/providers.contract.js +4 -0
- package/dist/contracts/providers.contract.js.map +1 -1
- package/dist/contracts/runner.contract.d.ts +42 -10
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +17 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +84 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.js +7 -0
- package/dist/contracts/settings.contract.js.map +1 -1
- package/dist/contracts/system.contract.d.ts +16 -2
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/workflows.contract.d.ts +30 -0
- package/dist/contracts/workflows.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.d.ts +3 -0
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/events/agent-events.d.ts +74 -0
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-events.js +1 -0
- package/dist/events/agent-events.js.map +1 -1
- package/dist/events/requests.d.ts +45 -0
- package/dist/events/requests.d.ts.map +1 -1
- package/dist/events/system-events.d.ts +12 -0
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/transcript.d.ts +117 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/index.d.ts +828 -73
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/models/agent-catalog.d.ts +18 -3
- package/dist/models/agent-catalog.d.ts.map +1 -1
- package/dist/models/agent-catalog.js +61 -12
- package/dist/models/agent-catalog.js.map +1 -1
- package/dist/models/agent-runtimes.d.ts +5 -2
- package/dist/models/agent-runtimes.d.ts.map +1 -1
- package/dist/models/agent-runtimes.js +73 -40
- package/dist/models/agent-runtimes.js.map +1 -1
- package/dist/models/model-setups.d.ts +5 -0
- package/dist/models/model-setups.d.ts.map +1 -1
- package/dist/models/provider-specs.d.ts +153 -32
- package/dist/models/provider-specs.d.ts.map +1 -1
- package/dist/models/provider-specs.js +97 -11
- package/dist/models/provider-specs.js.map +1 -1
- package/dist/policy/reserved-servers.d.ts.map +1 -1
- package/dist/policy/reserved-servers.js +1 -0
- package/dist/policy/reserved-servers.js.map +1 -1
- package/dist/policy/sandbox-power.d.ts +7 -2
- package/dist/policy/sandbox-power.d.ts.map +1 -1
- package/dist/policy/sandbox-power.js +34 -1
- package/dist/policy/sandbox-power.js.map +1 -1
- package/dist/policy/turned-away.d.ts.map +1 -1
- package/dist/policy/turned-away.js +1 -0
- package/dist/policy/turned-away.js.map +1 -1
- package/dist/protocol/doors/listener-protocol.d.ts +43 -1
- package/dist/protocol/doors/listener-protocol.d.ts.map +1 -1
- package/dist/protocol/doors/listener-protocol.js +10 -0
- package/dist/protocol/doors/listener-protocol.js.map +1 -1
- package/dist/protocol/raw/raw-json-routes.d.ts +92 -0
- package/dist/protocol/raw/raw-json-routes.d.ts.map +1 -1
- package/dist/protocol/raw/raw-json-routes.js +2 -1
- package/dist/protocol/raw/raw-json-routes.js.map +1 -1
- package/dist/protocol/raw/raw-routes.d.ts +13 -0
- package/dist/protocol/raw/raw-routes.d.ts.map +1 -1
- package/dist/protocol/raw/raw-routes.js +3 -0
- package/dist/protocol/raw/raw-routes.js.map +1 -1
- package/dist/schemas/activity.d.ts +2 -0
- package/dist/schemas/activity.d.ts.map +1 -1
- package/dist/schemas/agent.d.ts +34 -0
- package/dist/schemas/agent.d.ts.map +1 -1
- package/dist/schemas/agent.js +7 -6
- package/dist/schemas/agent.js.map +1 -1
- package/dist/schemas/agents-list.d.ts +7 -0
- package/dist/schemas/agents-list.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +18 -0
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-literacy.d.ts +54 -0
- package/dist/schemas/ai-literacy.d.ts.map +1 -0
- package/dist/schemas/ai-literacy.js +15 -0
- package/dist/schemas/ai-literacy.js.map +1 -0
- package/dist/schemas/audit.d.ts +166 -0
- package/dist/schemas/audit.d.ts.map +1 -0
- package/dist/schemas/audit.js +100 -0
- package/dist/schemas/audit.js.map +1 -0
- package/dist/schemas/automations.d.ts +27 -0
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/automations.js +11 -0
- package/dist/schemas/automations.js.map +1 -1
- package/dist/schemas/ci.d.ts +10 -0
- package/dist/schemas/ci.d.ts.map +1 -1
- package/dist/schemas/compliance.d.ts +423 -0
- package/dist/schemas/compliance.d.ts.map +1 -0
- package/dist/schemas/compliance.js +135 -0
- package/dist/schemas/compliance.js.map +1 -0
- package/dist/schemas/data-protection.d.ts +28 -0
- package/dist/schemas/data-protection.d.ts.map +1 -0
- package/dist/schemas/data-protection.js +49 -0
- package/dist/schemas/data-protection.js.map +1 -0
- package/dist/schemas/devices.d.ts +12 -0
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/engines.d.ts +22 -1
- package/dist/schemas/engines.d.ts.map +1 -1
- package/dist/schemas/engines.js +1 -1
- package/dist/schemas/engines.js.map +1 -1
- package/dist/schemas/extension-updates.d.ts +4 -0
- package/dist/schemas/extension-updates.d.ts.map +1 -1
- package/dist/schemas/git/git.d.ts +33 -0
- package/dist/schemas/git/git.d.ts.map +1 -1
- package/dist/schemas/git/git.js +29 -0
- package/dist/schemas/git/git.js.map +1 -1
- package/dist/schemas/hosts.d.ts +36 -0
- package/dist/schemas/hosts.d.ts.map +1 -1
- package/dist/schemas/hosts.js +2 -0
- package/dist/schemas/hosts.js.map +1 -1
- package/dist/schemas/intentic-os.d.ts +117 -0
- package/dist/schemas/intentic-os.d.ts.map +1 -0
- package/dist/schemas/intentic-os.js +66 -0
- package/dist/schemas/intentic-os.js.map +1 -0
- package/dist/schemas/loops.d.ts +15 -0
- package/dist/schemas/loops.d.ts.map +1 -1
- package/dist/schemas/members.d.ts +90 -0
- package/dist/schemas/members.d.ts.map +1 -1
- package/dist/schemas/members.js +73 -3
- package/dist/schemas/members.js.map +1 -1
- package/dist/schemas/needs.d.ts +56 -0
- package/dist/schemas/needs.d.ts.map +1 -1
- package/dist/schemas/offload.d.ts +5 -0
- package/dist/schemas/offload.d.ts.map +1 -1
- package/dist/schemas/personas.d.ts +10 -0
- package/dist/schemas/personas.d.ts.map +1 -1
- package/dist/schemas/providers/plan-limits.d.ts +20 -0
- package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
- package/dist/schemas/providers/provider-oauth.js +1 -1
- package/dist/schemas/providers/provider-oauth.js.map +1 -1
- package/dist/schemas/providers/usage.d.ts +1 -0
- package/dist/schemas/providers/usage.d.ts.map +1 -1
- package/dist/schemas/providers/usage.js +4 -0
- package/dist/schemas/providers/usage.js.map +1 -1
- package/dist/schemas/settings.d.ts +48 -0
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +14 -0
- package/dist/schemas/settings.js.map +1 -1
- package/dist/schemas/system.d.ts +8 -0
- package/dist/schemas/system.d.ts.map +1 -1
- package/dist/schemas/system.js +2 -0
- package/dist/schemas/system.js.map +1 -1
- package/dist/schemas/workflows.d.ts +50 -0
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/schemas/workspace/workspace-tree.d.ts +4 -0
- package/dist/schemas/workspace/workspace-tree.d.ts.map +1 -1
- package/dist/schemas/workspace/workspace-tree.js +16 -1
- package/dist/schemas/workspace/workspace-tree.js.map +1 -1
- package/dist/state/definition.d.ts +80 -4
- package/dist/state/definition.d.ts.map +1 -1
- package/dist/state/history-state.d.ts.map +1 -1
- package/dist/state/history-state.js +2 -0
- package/dist/state/history-state.js.map +1 -1
- package/package.json +5 -5
- package/src/contracts/activity.contract.ts +1 -1
- package/src/contracts/agents.contract.ts +13 -1
- package/src/contracts/audit.contract.ts +48 -0
- package/src/contracts/compliance.contract.ts +57 -0
- package/src/contracts/providers.contract.ts +9 -0
- package/src/contracts/settings.contract.ts +7 -0
- package/src/events/agent-events.ts +4 -0
- package/src/index.ts +11 -0
- package/src/models/agent-catalog.test.ts +317 -53
- package/src/models/agent-catalog.ts +115 -22
- package/src/models/agent-runtimes.ts +273 -75
- package/src/models/capability-ledger.test.ts +12 -1
- package/src/models/provider-specs.test.ts +42 -7
- package/src/models/provider-specs.ts +160 -20
- package/src/policy/reserved-servers.ts +2 -1
- package/src/policy/sandbox-power.ts +67 -8
- package/src/policy/tests/sandbox-power.test.ts +59 -1
- package/src/policy/turned-away.ts +2 -0
- package/src/protocol/doors/listener-protocol.ts +74 -6
- package/src/protocol/raw/raw-json-routes.ts +2 -1
- package/src/protocol/raw/raw-routes.ts +7 -0
- package/src/schemas/activity.ts +2 -2
- package/src/schemas/agent.ts +22 -9
- package/src/schemas/ai-literacy.ts +17 -0
- package/src/schemas/audit.ts +131 -0
- package/src/schemas/automations.ts +13 -0
- package/src/schemas/compliance.ts +195 -0
- package/src/schemas/daemon-health.test.ts +2 -0
- package/src/schemas/data-protection.ts +99 -0
- package/src/schemas/engines.ts +1 -1
- package/src/schemas/git/git.ts +46 -0
- package/src/schemas/hosts.ts +5 -0
- package/src/schemas/intentic-os.test.ts +86 -0
- package/src/schemas/intentic-os.ts +130 -0
- package/src/schemas/members.test.ts +47 -0
- package/src/schemas/members.ts +141 -6
- package/src/schemas/providers/provider-oauth.ts +1 -1
- package/src/schemas/providers/usage.ts +6 -0
- package/src/schemas/settings.ts +32 -0
- package/src/schemas/system.ts +2 -0
- package/src/schemas/workspace/workspace-tree.ts +26 -1
- package/src/state/history-state.ts +7 -0
|
@@ -7,7 +7,9 @@ export const HISTORY_STATE_FILES = [
|
|
|
7
7
|
{ path: "shares.json", portability: "carry" },
|
|
8
8
|
{ path: "member-audience.json", portability: "carry" },
|
|
9
9
|
{ path: "member-getting-started.json", portability: "carry" },
|
|
10
|
+
{ path: "member-ai-literacy.json", portability: "carry" },
|
|
10
11
|
{ path: "activity.jsonl", portability: "carry" },
|
|
12
|
+
{ path: "audit/", portability: "carry" },
|
|
11
13
|
{ path: "usage.jsonl", portability: "carry" },
|
|
12
14
|
{ path: "account-usage.json", portability: "carry" },
|
|
13
15
|
{ path: "usage-parks.json", portability: "carry" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history-state.js","sourceRoot":"","sources":["../../src/state/history-state.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,mBAAmB,GAAyB;IAIrD,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE;IAEvC,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE;IAKzC,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,OAAO,EAAE;IAIlD,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAAE;IAGhD,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE;IAExC,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,EAAE;IAI7C,EAAE,IAAI,EAAE,sBAAsB,EAAE,WAAW,EAAE,OAAO,EAAE;IAItD,EAAE,IAAI,EAAE,6BAA6B,EAAE,WAAW,EAAE,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"history-state.js","sourceRoot":"","sources":["../../src/state/history-state.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,mBAAmB,GAAyB;IAIrD,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE;IAEvC,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE;IAKzC,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,OAAO,EAAE;IAIlD,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAAE;IAGhD,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE;IAExC,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,EAAE;IAI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E;KACvF;IAID,EAAE,IAAI,EAAE,mBAAmB,EAAE,WAAW,EAAE,OAAO,EAAE;IACnD,EAAE,IAAI,EAAE,sBAAsB,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,0EAA0E,EAAE;IAC3I,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE;IAKhD,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,gEAAgE,EAAE;IAEtH,EAAE,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,SAAS,EAAE;IAGtD,EAAE,IAAI,EAAE,sBAAsB,EAAE,WAAW,EAAE,SAAS,EAAE;CAC3D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/sandbox-contract",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.335.0",
|
|
4
4
|
"description": "oRPC wire contract for the intentic sandbox daemon, shared by the daemon and its browser client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -339,10 +339,10 @@
|
|
|
339
339
|
}
|
|
340
340
|
},
|
|
341
341
|
"dependencies": {
|
|
342
|
-
"@intentic/base": "1.
|
|
343
|
-
"@intentic/constants": "1.
|
|
344
|
-
"@intentic/extension-manifest": "1.
|
|
345
|
-
"@intentic/registry": "1.
|
|
342
|
+
"@intentic/base": "1.335.0",
|
|
343
|
+
"@intentic/constants": "1.335.0",
|
|
344
|
+
"@intentic/extension-manifest": "1.335.0",
|
|
345
|
+
"@intentic/registry": "1.335.0",
|
|
346
346
|
"@orpc/contract": "1.15.4",
|
|
347
347
|
"tslib": "2.8.1",
|
|
348
348
|
"zod": "4.6.5"
|
|
@@ -10,7 +10,7 @@ export const activityContract = {
|
|
|
10
10
|
path: "/activity",
|
|
11
11
|
summary: "What the agent has done out in the world",
|
|
12
12
|
description:
|
|
13
|
-
"The
|
|
13
|
+
"The record of actions taken on outside services. Read-only on purpose: entries are written by the sandbox alone. Someone who does not manage the sandbox reads only the entries of conversations they may see, since an entry carries the prompt that woke a turn.",
|
|
14
14
|
})
|
|
15
15
|
.input(ActivityQuerySchema)
|
|
16
16
|
.output(ActivityListSchema),
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
LandResultSchema,
|
|
27
27
|
} from "../schemas/agents.js";
|
|
28
28
|
import { AgentsListSchema } from "../schemas/agents-list.js";
|
|
29
|
-
import { AgentChangesSchema, AgentConflictsSchema, AgentScratchSchema, AgentHistorySchema } from "../schemas/git/git.js";
|
|
29
|
+
import { AgentChangesSchema, AgentConflictsSchema, AgentIgnoredSchema, AgentScratchSchema, AgentHistorySchema } from "../schemas/git/git.js";
|
|
30
30
|
import { FileDiffSchema } from "../schemas/history.js";
|
|
31
31
|
import { OkSchema } from "../schemas/shared.js";
|
|
32
32
|
import { AgentKeepWarmSchema } from "../schemas/keep-warm.js";
|
|
@@ -294,6 +294,18 @@ export const agentsContract = {
|
|
|
294
294
|
})
|
|
295
295
|
.input(AgentScratchSchema)
|
|
296
296
|
.output(OkSchema),
|
|
297
|
+
// Copied, never staged: an ignored file is ignored for a reason (a render past GitHub's file limit), so it reaches
|
|
298
|
+
// the owner's tree beside git rather than through it.
|
|
299
|
+
copyIgnored: procedure
|
|
300
|
+
.route({
|
|
301
|
+
method: "POST",
|
|
302
|
+
path: "/agents/{id}/ignored/copy",
|
|
303
|
+
summary: "Copy files your .gitignore excludes from a conversation's copy into your tree",
|
|
304
|
+
description:
|
|
305
|
+
"Takes files the review lists as ignored and copies each to the same path in your tree, making the folders it needs and replacing a different file already there. Nothing is staged or committed, and the conversation's copy keeps its own. Refused while a turn is running, for a path that leaves the repository, and for a path that is not an ignored file the conversation wrote. A file your tree already holds as it is is left alone.",
|
|
306
|
+
})
|
|
307
|
+
.input(AgentIgnoredSchema)
|
|
308
|
+
.output(OkSchema),
|
|
297
309
|
land: procedure
|
|
298
310
|
.route({
|
|
299
311
|
method: "POST",
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { procedure } from "../protocol/route-meta.js";
|
|
2
|
+
import { AuditExportQuerySchema, AuditExportSchema, AuditListSchema, AuditQuerySchema, AuditStatusSchema, AuditVerifySchema } from "../schemas/audit.js";
|
|
3
|
+
|
|
4
|
+
// The audit trail (historyRoot/audit/): who changed what, who signed in, and, when the owner asks for it, who read
|
|
5
|
+
// what. Owner and maintainers only: the trail names every member and what they did. Read-only on purpose, the daemon
|
|
6
|
+
// is its only writer. Its settings ride on /settings (`audit`), so changing them is itself a recorded settings change.
|
|
7
|
+
export const auditContract = {
|
|
8
|
+
list: procedure
|
|
9
|
+
.route({
|
|
10
|
+
method: "GET",
|
|
11
|
+
path: "/audit",
|
|
12
|
+
summary: "The audit trail",
|
|
13
|
+
description:
|
|
14
|
+
"Who changed a setting, a member, a secret's gate or a policy, who signed in, and, when reads are recorded, who opened what. Newest first, filtered and paged. Reading it is itself recorded when reads are.",
|
|
15
|
+
})
|
|
16
|
+
.meta({ floor: "maintainer" })
|
|
17
|
+
.input(AuditQuerySchema)
|
|
18
|
+
.output(AuditListSchema),
|
|
19
|
+
verify: procedure
|
|
20
|
+
.route({
|
|
21
|
+
method: "GET",
|
|
22
|
+
path: "/audit/verify",
|
|
23
|
+
summary: "Check the audit trail for tampering",
|
|
24
|
+
description:
|
|
25
|
+
"Recomputes every record's hash and its link to the one before it. Names the first record that was changed, removed or inserted after it was written. It shows tampering; it cannot undo it, which is what the copy sent to a forward address is for.",
|
|
26
|
+
})
|
|
27
|
+
.meta({ floor: "maintainer" })
|
|
28
|
+
.output(AuditVerifySchema),
|
|
29
|
+
export: procedure
|
|
30
|
+
.route({
|
|
31
|
+
method: "GET",
|
|
32
|
+
path: "/audit/export",
|
|
33
|
+
summary: "Download the audit trail for a period",
|
|
34
|
+
description: "The records written in a period as JSON Lines, exactly as stored, so whoever receives them can check the hashes themselves.",
|
|
35
|
+
})
|
|
36
|
+
.meta({ floor: "maintainer" })
|
|
37
|
+
.input(AuditExportQuerySchema)
|
|
38
|
+
.output(AuditExportSchema),
|
|
39
|
+
status: procedure
|
|
40
|
+
.route({
|
|
41
|
+
method: "GET",
|
|
42
|
+
path: "/audit/status",
|
|
43
|
+
summary: "Whether the audit trail's outside copy keeps up",
|
|
44
|
+
description: "Which monthly files are kept, the oldest record, and whether records are reaching the forward address.",
|
|
45
|
+
})
|
|
46
|
+
.meta({ floor: "maintainer" })
|
|
47
|
+
.output(AuditStatusSchema),
|
|
48
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { procedure } from "../protocol/route-meta.js";
|
|
2
|
+
import {
|
|
3
|
+
ComplianceDocumentQuerySchema,
|
|
4
|
+
ComplianceDocumentSchema,
|
|
5
|
+
ComplianceReportSchema,
|
|
6
|
+
PresetApplyResultSchema,
|
|
7
|
+
PresetApplySchema,
|
|
8
|
+
PresetPreviewSchema,
|
|
9
|
+
} from "../schemas/compliance.js";
|
|
10
|
+
|
|
11
|
+
// The data protection page: where data can leave this sandbox, what protects it, the documents a data protection officer
|
|
12
|
+
// files about it, and the public-office preset. Maintainer and up, never an agent's or a panel's: the map of every
|
|
13
|
+
// outbound path is the reconnaissance an attacker would want, and the preset changes the policies the agent is held to.
|
|
14
|
+
// Applying the preset is the owner's alone, since it may turn on the privacy shield, which only the owner may change.
|
|
15
|
+
const maintainerRoute = procedure.meta({ floor: "maintainer", control: "never", panel: false });
|
|
16
|
+
|
|
17
|
+
export const complianceContract = {
|
|
18
|
+
report: maintainerRoute
|
|
19
|
+
.route({
|
|
20
|
+
method: "GET",
|
|
21
|
+
path: "/compliance",
|
|
22
|
+
summary: "Where data can leave, and what protects it",
|
|
23
|
+
description:
|
|
24
|
+
"Every outbound path as configured right now (model providers, mail, team chat, connectors, speech, the web, the platform, updates, analytics), each with its destination, whether personal data can travel on it and whether the privacy shield covers it; and the technical and organisational measures with whether each is in place.",
|
|
25
|
+
})
|
|
26
|
+
.output(ComplianceReportSchema),
|
|
27
|
+
document: maintainerRoute
|
|
28
|
+
.route({
|
|
29
|
+
method: "GET",
|
|
30
|
+
path: "/compliance/document",
|
|
31
|
+
summary: "A data protection document, filled in from this sandbox",
|
|
32
|
+
description:
|
|
33
|
+
"The record of processing activities entry, the data protection impact assessment draft, or the list of technical and organisational measures, in Polish or English, as Markdown or a Word document. What the sandbox knows is filled in; what only the office can say is left as a marked blank.",
|
|
34
|
+
})
|
|
35
|
+
.input(ComplianceDocumentQuerySchema)
|
|
36
|
+
.output(ComplianceDocumentSchema),
|
|
37
|
+
preset: maintainerRoute
|
|
38
|
+
.route({
|
|
39
|
+
method: "GET",
|
|
40
|
+
path: "/compliance/preset",
|
|
41
|
+
summary: "What the public-office preset would change",
|
|
42
|
+
description:
|
|
43
|
+
"Each stricter setting the preset proposes, with the value this sandbox has now beside it. Reading it changes nothing.",
|
|
44
|
+
})
|
|
45
|
+
.output(PresetPreviewSchema),
|
|
46
|
+
applyPreset: procedure
|
|
47
|
+
.meta({ floor: "owner", control: "never", panel: false })
|
|
48
|
+
.route({
|
|
49
|
+
method: "POST",
|
|
50
|
+
path: "/compliance/preset",
|
|
51
|
+
summary: "Apply chosen items of the public-office preset",
|
|
52
|
+
description:
|
|
53
|
+
"Applies only the items named, each to its proposed value, and leaves everything else as it is. An item already at its value, or one this sandbox cannot take (a name model that is not installed), is skipped and said so.",
|
|
54
|
+
})
|
|
55
|
+
.input(PresetApplySchema)
|
|
56
|
+
.output(PresetApplyResultSchema),
|
|
57
|
+
};
|
|
@@ -26,6 +26,15 @@ export const RunnableProvidersSchema = z.object({
|
|
|
26
26
|
}),
|
|
27
27
|
)
|
|
28
28
|
.describe("Model endpoints, already prefixed `endpoint/`, including the daemon-provisioned free trial."),
|
|
29
|
+
// What this daemon can run each provider on, so an editor offers only loops the daemon behind it has: a newer
|
|
30
|
+
// editor reading an older daemon finds no field and keeps to the loops every daemon had. Strings, not the harness
|
|
31
|
+
// enum, so a newer daemon's loop reaches an older editor as one it skips rather than a listing it refuses.
|
|
32
|
+
loops: z
|
|
33
|
+
.record(z.string(), z.array(z.string()))
|
|
34
|
+
.optional()
|
|
35
|
+
.describe(
|
|
36
|
+
"The agentic loops each provider can run on here, by provider id: the harness values a turn may name for it, its default loop first. A provider with one loop offers no choice.",
|
|
37
|
+
),
|
|
29
38
|
});
|
|
30
39
|
export type RunnableProviders = z.infer<typeof RunnableProvidersSchema>;
|
|
31
40
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AiLiteracyConfirmSchema, AiLiteracyListSchema, AiLiteracyQuerySchema, AiLiteracyStatusSchema } from "../schemas/ai-literacy.js";
|
|
1
2
|
import { FIELD_NOTES_FILE } from "@intentic/constants";
|
|
2
3
|
import { procedure } from "../protocol/route-meta.js";
|
|
3
4
|
import {
|
|
@@ -35,6 +36,12 @@ export const settingsContract = {
|
|
|
35
36
|
.meta({ floor: "owner", panel: false, control: "never" })
|
|
36
37
|
.input(AgentDomainPolicySchema)
|
|
37
38
|
.output(OkSchema),
|
|
39
|
+
aiLiteracy: procedure.route({ method: "GET", path: "/settings/ai-literacy/{locale}", summary: "Read the AI literacy notice and your confirmation" })
|
|
40
|
+
.meta({ guest: true }).input(AiLiteracyQuerySchema).output(AiLiteracyStatusSchema),
|
|
41
|
+
confirmAiLiteracy: procedure.route({ method: "POST", path: "/settings/ai-literacy/confirm", summary: "Confirm your own AI literacy notice" })
|
|
42
|
+
.meta({ guest: true, floor: "viewer" }).input(AiLiteracyConfirmSchema).output(AiLiteracyStatusSchema),
|
|
43
|
+
aiLiteracyConfirmations: procedure.route({ method: "GET", path: "/settings/ai-literacy/confirmations", summary: "List AI literacy confirmations" })
|
|
44
|
+
.meta({ floor: "maintainer" }).output(AiLiteracyListSchema),
|
|
38
45
|
get: procedure
|
|
39
46
|
.route({
|
|
40
47
|
method: "GET",
|
|
@@ -320,6 +320,10 @@ export const AgentEventSchema = z.discriminatedUnion("kind", [
|
|
|
320
320
|
// The sandbox is short of memory, held before anything spawned: a person once per spell, after which
|
|
321
321
|
// their sends run; background work on every short reading. Transient, no clock.
|
|
322
322
|
"sandbox-memory-low",
|
|
323
|
+
// The conversation's own view of the workspace (its mount namespace) did not come up in time, twice,
|
|
324
|
+
// before anything ran: the sandbox too loaded to set it up. Held like a memory hold, and sent again by
|
|
325
|
+
// itself once the sandbox has had room for a while (the memory wall's answer).
|
|
326
|
+
"workspace-setup",
|
|
323
327
|
// The runtime hit its own iteration ceiling and stopped; the work may be half done, so the user
|
|
324
328
|
// decides.
|
|
325
329
|
"turn-cap",
|
package/src/index.ts
CHANGED
|
@@ -8,11 +8,13 @@ import { activityContract } from "./contracts/activity.contract.js";
|
|
|
8
8
|
import { agentContract } from "./contracts/agent.contract.js";
|
|
9
9
|
import { agentsContract } from "./contracts/agents.contract.js";
|
|
10
10
|
import { approvalsContract } from "./contracts/approvals.contract.js";
|
|
11
|
+
import { auditContract } from "./contracts/audit.contract.js";
|
|
11
12
|
import { areasContract } from "./contracts/areas.contract.js";
|
|
12
13
|
import { automationsContract } from "./contracts/automations.contract.js";
|
|
13
14
|
import { capabilitiesContract } from "./contracts/capabilities.contract.js";
|
|
14
15
|
import { choresContract } from "./contracts/chores.contract.js";
|
|
15
16
|
import { ciContract } from "./contracts/ci.contract.js";
|
|
17
|
+
import { complianceContract } from "./contracts/compliance.contract.js";
|
|
16
18
|
import { diffContract } from "./contracts/diff.contract.js";
|
|
17
19
|
import { endpointsContract } from "./contracts/endpoints.contract.js";
|
|
18
20
|
import { exitContract } from "./contracts/exit.contract.js";
|
|
@@ -51,6 +53,7 @@ import { workspaceContract } from "./contracts/workspace.contract.js";
|
|
|
51
53
|
|
|
52
54
|
export { accountsContract } from "./contracts/accounts.contract.js";
|
|
53
55
|
export { activityContract } from "./contracts/activity.contract.js";
|
|
56
|
+
export { auditContract } from "./contracts/audit.contract.js";
|
|
54
57
|
export { agentContract } from "./contracts/agent.contract.js";
|
|
55
58
|
export { agentsContract } from "./contracts/agents.contract.js";
|
|
56
59
|
export { approvalsContract } from "./contracts/approvals.contract.js";
|
|
@@ -59,6 +62,7 @@ export { automationsContract } from "./contracts/automations.contract.js";
|
|
|
59
62
|
export { capabilitiesContract } from "./contracts/capabilities.contract.js";
|
|
60
63
|
export { choresContract } from "./contracts/chores.contract.js";
|
|
61
64
|
export { ciContract } from "./contracts/ci.contract.js";
|
|
65
|
+
export { complianceContract } from "./contracts/compliance.contract.js";
|
|
62
66
|
export {
|
|
63
67
|
endpointsContract,
|
|
64
68
|
type HostModelServer,
|
|
@@ -200,6 +204,7 @@ export * from "./policy/message-limits.js";
|
|
|
200
204
|
// Wire shapes, one module per subject area, mirroring `contracts/`; a `{param}` in the route path merges into the same
|
|
201
205
|
// flat object, split back into path/body/query. `schemas/internal.ts` is absent: it's vocabulary, not a wire shape.
|
|
202
206
|
export * from "./schemas/activity.js";
|
|
207
|
+
export * from "./schemas/audit.js";
|
|
203
208
|
export * from "./schemas/agent.js";
|
|
204
209
|
export * from "./schemas/areas.js";
|
|
205
210
|
export * from "./policy/fence-paths.js";
|
|
@@ -219,6 +224,7 @@ export * from "./schemas/codebase-health.js";
|
|
|
219
224
|
export * from "./schemas/context-trim.js";
|
|
220
225
|
export * from "./schemas/devices.js";
|
|
221
226
|
export * from "./schemas/device-swaps.js";
|
|
227
|
+
export * from "./schemas/intentic-os.js";
|
|
222
228
|
export * from "./schemas/project-delivery.js";
|
|
223
229
|
export * from "./schemas/device-artifacts.js";
|
|
224
230
|
export * from "./schemas/run-targets.js";
|
|
@@ -262,6 +268,9 @@ export * from "./schemas/secrets.js";
|
|
|
262
268
|
export * from "./schemas/netdisk.js";
|
|
263
269
|
export * from "./schemas/sessions.js";
|
|
264
270
|
export * from "./schemas/settings.js";
|
|
271
|
+
export * from "./schemas/data-protection.js";
|
|
272
|
+
export * from "./schemas/ai-literacy.js";
|
|
273
|
+
export * from "./schemas/compliance.js";
|
|
265
274
|
export * from "./schemas/settings-history.js";
|
|
266
275
|
export * from "./schemas/share.js";
|
|
267
276
|
export * from "./schemas/shared.js";
|
|
@@ -307,11 +316,13 @@ export const sandboxContract = {
|
|
|
307
316
|
agent: agentContract,
|
|
308
317
|
agents: agentsContract,
|
|
309
318
|
approvals: approvalsContract,
|
|
319
|
+
audit: auditContract,
|
|
310
320
|
areas: areasContract,
|
|
311
321
|
automations: automationsContract,
|
|
312
322
|
capabilities: capabilitiesContract,
|
|
313
323
|
chores: choresContract,
|
|
314
324
|
ci: ciContract,
|
|
325
|
+
compliance: complianceContract,
|
|
315
326
|
diff: diffContract,
|
|
316
327
|
endpoints: endpointsContract,
|
|
317
328
|
extensions: extensionsContract,
|