@lmzhen/dsh-evolution-approval 0.25.9 → 0.26.26

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.
@@ -18,6 +18,7 @@
18
18
  */
19
19
  import { Context, Service } from '@deepseek-ai/cordis';
20
20
  import type { Volatile } from '@deepseek-ai/cordis';
21
+ import { type WriteConfirmMode } from '@lmzhen/dsh-evolution-core';
21
22
  import z from '@deepseek-ai/schemastery';
22
23
  import type { PendingKind, PendingRecord, PendingStatus } from '@lmzhen/dsh-evolution-state-storage';
23
24
  export type { PendingKind, PendingRecord, PendingStatus };
@@ -165,11 +166,12 @@ export interface Config {
165
166
  */
166
167
  pendingTtlMs?: Volatile<number>;
167
168
  /**
168
- * U-6: what the confirmation before an APPROVE does. The same three words `skillWriteConfirm` uses
169
- * for a skill write (`tool-skill-manage/src/write-gates.ts:50`) — mirrored, not imported: the two
170
- * packages do not depend on each other and this is a vocabulary, not behaviour.
169
+ * U-6: what the confirmation before an APPROVE does. The same three words the skill-write gate uses
170
+ * (`WriteConfirmMode`, whose home is `evolution-core/src/write-authority.ts` - moved there with the
171
+ * authority that carries it; the re-export from `write-gates.ts` was removed in G1/1.8) - and now the
172
+ * IMPORT below is what makes that true: without it the docblock claimed an import the file did not have.
171
173
  */
172
- approvalConfirm?: Volatile<'auto' | 'ask' | 'timeout'>;
174
+ approvalConfirm?: Volatile<WriteConfirmMode>;
173
175
  }
174
176
  export declare class EvolutionApproval extends Service {
175
177
  static inject: string[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-approval",
3
3
  "description": "Stage/pending approval service for Hermes-style self-evolution writes (community build)",
4
- "version": "0.25.9",
4
+ "version": "0.26.26",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,18 +27,18 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@deepseek-ai/schemastery": "^3.18.4",
30
- "@lmzhen/dsh-evolution-core": "^0.25.9"
30
+ "@lmzhen/dsh-evolution-core": "^0.26.26"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@deepseek-ai/cordis": "^4.0.1",
34
34
  "@deepseek-ai/dsh-host-webserver": "^0.2.0-rc.1",
35
- "@lmzhen/dsh-evolution-state-storage": "^0.25.9",
36
- "@lmzhen/dsh-evolution-state": "^0.25.9"
35
+ "@lmzhen/dsh-evolution-state-storage": "^0.26.26",
36
+ "@lmzhen/dsh-evolution-state": "^0.26.26"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@deepseek-ai/dsh-host-webserver": "^0.2.0-rc.1",
40
- "@lmzhen/dsh-evolution-core": "^0.25.9",
41
- "@lmzhen/dsh-evolution-state-storage": "^0.25.9",
42
- "@lmzhen/dsh-evolution-state": "^0.25.9"
40
+ "@lmzhen/dsh-evolution-core": "^0.26.26",
41
+ "@lmzhen/dsh-evolution-state-storage": "^0.26.26",
42
+ "@lmzhen/dsh-evolution-state": "^0.26.26"
43
43
  }
44
44
  }