@intentic/sandbox-contract 1.379.0 → 1.381.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/dist/contracts/agent.contract.d.ts +18 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +8 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/runs.contract.d.ts +56 -0
- package/dist/contracts/runs.contract.d.ts.map +1 -1
- package/dist/contracts/runs.contract.js +29 -2
- package/dist/contracts/runs.contract.js.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +4 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/events/agent-events.d.ts +12 -0
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-transcript.d.ts +4 -0
- package/dist/events/agent-transcript.d.ts.map +1 -1
- package/dist/events/agent-words.d.ts +7 -0
- package/dist/events/agent-words.d.ts.map +1 -1
- package/dist/events/agent-words.js +29 -5
- package/dist/events/agent-words.js.map +1 -1
- package/dist/events/transcript.d.ts +24 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/events/transcript.js +4 -0
- package/dist/events/transcript.js.map +1 -1
- package/dist/index.d.ts +86 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/protocol/raw/raw-routes.d.ts +15 -0
- package/dist/protocol/raw/raw-routes.d.ts.map +1 -1
- package/dist/protocol/raw/raw-routes.js +4 -0
- package/dist/protocol/raw/raw-routes.js.map +1 -1
- package/dist/schemas/conversation-links.d.ts.map +1 -1
- package/dist/schemas/conversation-links.js.map +1 -1
- package/dist/schemas/run-targets.d.ts +86 -0
- package/dist/schemas/run-targets.d.ts.map +1 -1
- package/dist/schemas/run-targets.js +31 -0
- package/dist/schemas/run-targets.js.map +1 -1
- package/dist/state/workspace-state.d.ts.map +1 -1
- package/dist/state/workspace-state.js +3 -1
- package/dist/state/workspace-state.js.map +1 -1
- package/package.json +5 -5
- package/src/contracts/runs.contract.ts +42 -3
- package/src/events/agent-words.ts +39 -5
- package/src/events/transcript.ts +4 -0
- package/src/protocol/raw/raw-routes.ts +5 -0
- package/src/schemas/conversation-links.ts +2 -1
- package/src/schemas/run-targets.ts +61 -0
- package/src/state/workspace-state.test.ts +6 -1
- package/src/state/workspace-state.ts +4 -4
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HISTORY_ROOT, STATE_DIR } from "@intentic/constants";
|
|
2
2
|
import type { FileContribution } from "@intentic/extension-manifest";
|
|
3
|
+
import { ROOT_PROJECT_PATHS } from "../schemas/run-targets.js";
|
|
3
4
|
import type { StateFile } from "./state-portability.js";
|
|
4
5
|
|
|
5
6
|
// Declares which workspace file backs which browser view, imported by both the daemon (builds store paths from
|
|
@@ -539,10 +540,9 @@ const STATE_FILES = [
|
|
|
539
540
|
|
|
540
541
|
export const WORKSPACE_STATE_FILES: readonly WorkspaceStateFile[] = STATE_FILES;
|
|
541
542
|
|
|
542
|
-
// Entries the root repo tracks,
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
export const VERSIONED_STATE_PATHS: readonly string[] = WORKSPACE_STATE_FILES.filter((file) => file.versioned).map((file) => file.path);
|
|
543
|
+
// Entries the root repo tracks, which history.ts carves out of the `.intentic` exclusion; a root project's run targets too.
|
|
544
|
+
const versionedFiles = WORKSPACE_STATE_FILES.filter((file) => file.versioned).map((file) => file.path);
|
|
545
|
+
export const VERSIONED_STATE_PATHS: readonly string[] = [...versionedFiles, ...ROOT_PROJECT_PATHS];
|
|
546
546
|
|
|
547
547
|
// What a workspace search may surface: `versioned` config plus `authored` content (approvals, staged docs,
|
|
548
548
|
// workspace extensions). Everything else under `.intentic` is machine state, denied by default. `auth/`, where
|