@khorsheed/dsh-local-agent-codex 0.2.0-rc.1 → 0.2.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/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "local-agent",
9
9
  "codex"
10
10
  ],
11
- "version": "0.2.0-rc.1",
11
+ "version": "0.2.0",
12
12
  "type": "module",
13
13
  "main": "lib/index.js",
14
14
  "types": "lib/types/index.d.ts",
@@ -17,10 +17,6 @@
17
17
  "types": "./lib/types/index.d.ts",
18
18
  "default": "./lib/index.js"
19
19
  },
20
- "./invariant": {
21
- "types": "./lib/types/invariant.d.ts",
22
- "default": "./lib/invariant.js"
23
- },
24
20
  "./records": {
25
21
  "types": "./lib/types/records.d.ts",
26
22
  "default": "./lib/records.js"
@@ -36,7 +32,8 @@
36
32
  "./src/*": "./src/*",
37
33
  "./cordis.patch.yml": "./cordis.patch.yml",
38
34
  "./package.json": "./package.json",
39
- "./locale/*.json": "./locale/*.json"
35
+ "./locale/*.json": "./locale/*.json",
36
+ "./tool/locale/*.json": "./locale/*.json"
40
37
  },
41
38
  "dsh": {
42
39
  "references": [
@@ -57,8 +54,8 @@
57
54
  },
58
55
  "compat": {
59
56
  "minHost": "0.1.5-rc.1",
60
- "notes": "Live output uses the local-agent transient Remote and public Conversation nodes, with incremental durable recovery checkpoints; native final messages retain their existing transcript and usage semantics. End-to-end latency acceptance is tracked by the room coordinator proposal.",
61
- "verifiedHost": "0.1.5-rc.1"
57
+ "notes": "Live output uses the local-agent transient Remote and public Conversation nodes, with incremental durable recovery checkpoints; native final messages retain their existing transcript and usage semantics. End-to-end latency acceptance is tracked by the room coordinator proposal. The settings card mounts only on host 0.1.7-alpha.1+ (the Plugins page plugins.item seat, gated by configForms.whileServed on the served namespace); 0.1.5 renders no card (the host removed the settings.plugin.item seat) — every other surface is unchanged.",
58
+ "verifiedHost": "0.2.1-rc.1"
62
59
  }
63
60
  },
64
61
  "files": [
@@ -68,23 +65,25 @@
68
65
  "CHANGELOG.md"
69
66
  ],
70
67
  "license": "MIT",
68
+ "engines": {
69
+ "dsh": ">=0.1.5-rc.1 <0.3.0-0"
70
+ },
71
71
  "dependencies": {
72
- "@khorsheed/dsh-local-agent": "^0.2.0-rc.1"
72
+ "@khorsheed/dsh-local-agent": "^0.2.0"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "@deepseek-ai/cordis": "^4.0.1",
76
- "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.6 || ^0.2.0-rc.1",
77
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6 || ^0.2.0-rc.1",
78
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6 || ^0.2.0-rc.1",
79
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6 || ^0.2.0-rc.1",
80
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6 || ^0.2.0-rc.1",
81
- "@deepseek-ai/dsh-commands": "^0.1.0-rc.8 || ^0.2.0-rc.1",
82
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6 || ^0.2.0-rc.1",
83
- "@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.2.0-rc.1",
84
- "@deepseek-ai/dsh-session": "^0.1.0-rc.8 || ^0.2.0-rc.1",
85
- "@deepseek-ai/dsh-settings": "^0.1.0-rc.6 || ^0.2.0-rc.1",
86
- "@deepseek-ai/dsh-subagent": "^0.1.0-rc.6 || ^0.2.0-rc.1",
87
- "@deepseek-ai/dsh-subprocess": "^0.1.0-rc.6 || ^0.2.0-rc.1",
76
+ "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
77
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
78
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
79
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
80
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
81
+ "@deepseek-ai/dsh-commands": "^0.1.0-rc.8 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
82
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
83
+ "@deepseek-ai/dsh-session": "^0.1.0-rc.8 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
84
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
85
+ "@deepseek-ai/dsh-subagent": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
86
+ "@deepseek-ai/dsh-subprocess": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.1",
88
87
  "react": "^18.2.0"
89
88
  },
90
89
  "peerDependenciesMeta": {
package/lib/invariant.js DELETED
@@ -1,31 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /**
3
- * Package-owned invariant companion for `@khorsheed/dsh-local-agent-codex`.
4
- * @module @khorsheed/dsh-local-agent-codex/invariant
5
- */
6
- const PACKAGE_NAME = "@khorsheed/dsh-local-agent-codex";
7
- /** Cordis companion plugin name. */
8
- const name = "local-agent-codex-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- const inject = ["invariants"];
11
- /**
12
- * The codex harness definition is this bundle's contract with the core
13
- * registry: whenever a `codex` harness registers, its scoped-home variable
14
- * must be the one this bundle pins.
15
- */
16
- const install = (ctx, fail) => {
17
- ctx.on("internal/dispatch", (_mode, eventName, args) => {
18
- if (eventName !== "localAgent/harness-added") return;
19
- const harness = args[0];
20
- if (harness.name !== "codex") return;
21
- if (harness.homeEnvVar !== "CODEX_HOME") fail("codex harness registered with a home env other than the local-agent-codex contract");
22
- }, { global: true });
23
- };
24
- /**
25
- * Register this package's invariant companion.
26
- * @param ctx - plugin context carrying the invariant registry.
27
- * @returns the installed registration's disposer.
28
- */
29
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
30
- //#endregion
31
- export { apply, inject, name };
@@ -1,16 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@khorsheed/dsh-local-agent-codex`.
3
- * @module @khorsheed/dsh-local-agent-codex/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "local-agent-codex-invariant";
8
- /** Service required before the companion can reserve package ownership. */
9
- export declare const inject: string[];
10
- /**
11
- * Register this package's invariant companion.
12
- * @param ctx - plugin context carrying the invariant registry.
13
- * @returns the installed registration's disposer.
14
- */
15
- export declare const apply: (ctx: Context) => Promise<() => void>;
16
- //# sourceMappingURL=invariant.d.ts.map
@@ -1,33 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@khorsheed/dsh-local-agent-codex`.
3
- * @module @khorsheed/dsh-local-agent-codex/invariant
4
- */
5
- const PACKAGE_NAME = '@khorsheed/dsh-local-agent-codex';
6
- /** Cordis companion plugin name. */
7
- export const name = 'local-agent-codex-invariant';
8
- /** Service required before the companion can reserve package ownership. */
9
- export const inject = ['invariants'];
10
- /**
11
- * The codex harness definition is this bundle's contract with the core
12
- * registry: whenever a `codex` harness registers, its scoped-home variable
13
- * must be the one this bundle pins.
14
- */
15
- const install = (ctx, fail) => {
16
- ctx.on('internal/dispatch', (_mode, eventName, args) => {
17
- if (eventName !== 'localAgent/harness-added')
18
- return;
19
- const harness = args[0];
20
- if (harness.name !== 'codex')
21
- return;
22
- if (harness.homeEnvVar !== 'CODEX_HOME') {
23
- fail('codex harness registered with a home env other than the local-agent-codex contract');
24
- }
25
- }, { global: true });
26
- };
27
- /**
28
- * Register this package's invariant companion.
29
- * @param ctx - plugin context carrying the invariant registry.
30
- * @returns the installed registration's disposer.
31
- */
32
- export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
33
- /* jscpd:ignore-end */