@pellux/goodvibes-sdk 0.37.1 → 0.37.2

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.
@@ -3,7 +3,7 @@
3
3
  "product": {
4
4
  "id": "goodvibes",
5
5
  "surface": "operator",
6
- "version": "0.37.1"
6
+ "version": "0.37.2"
7
7
  },
8
8
  "auth": {
9
9
  "modes": [
@@ -64,6 +64,7 @@ export declare class ApprovalBroker {
64
64
  resolveApproval(approvalId: string, input: {
65
65
  readonly approved: boolean;
66
66
  readonly remember?: boolean | undefined;
67
+ readonly modifiedArgs?: Record<string, unknown> | undefined;
67
68
  readonly actor: string;
68
69
  readonly actorSurface?: string | undefined;
69
70
  readonly note?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"approval-broker.d.ts","sourceRoot":"","sources":["../../../src/platform/control-plane/approval-broker.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5H,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAI7D,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,CAAC;AAE3G,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;IACrG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,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AAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC3C,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACpC,GACA,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAoCjC,kBAAkB,CACtB,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE;QACL,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC3C,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACnC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;KACzD,GACA,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAmBjC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,SAAQ,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;YA4BpH,cAAc;IAwB5B;;;;;OAKG;IACH,OAAO,CAAC,sBAAsB;YAYhB,OAAO;IAOrB,OAAO,CAAC,OAAO;CA8BhB"}
@@ -220,6 +220,7 @@ export class ApprovalBroker {
220
220
  .then((decision) => this.resolveApproval(approval.id, {
221
221
  approved: decision.approved,
222
222
  remember: decision.remember,
223
+ modifiedArgs: decision.modifiedArgs,
223
224
  actor: 'tui-local',
224
225
  actorSurface: 'tui',
225
226
  }))
@@ -267,6 +268,7 @@ export class ApprovalBroker {
267
268
  decision: {
268
269
  approved: input.approved,
269
270
  ...(input.remember !== undefined ? { remember: input.remember } : {}),
271
+ ...(input.modifiedArgs !== undefined ? { modifiedArgs: input.modifiedArgs } : {}),
270
272
  },
271
273
  audit: [
272
274
  ...approval.audit,
@@ -1,6 +1,6 @@
1
1
  import { readFileSync } from 'node:fs';
2
2
  import { join } from 'node:path';
3
- let version = '0.37.1';
3
+ let version = '0.37.2';
4
4
  try {
5
5
  const pkg = JSON.parse(readFileSync(join(import.meta.dir, '..', '..', 'package.json'), 'utf-8'));
6
6
  version = pkg.version ?? version;
@@ -72,14 +72,26 @@ export declare class SideGitRunner {
72
72
  * Stage changes into the side index.
73
73
  *
74
74
  * @param paths When provided (non-empty), stage only these pathspecs
75
- * (scoped snapshot). Otherwise sweep the whole work tree, always excluding
76
- * `.goodvibes` (our own storage) via pathspec magic the same
77
- * `:(exclude)` pattern AgentWorktree already uses for the same reason.
78
- * Beyond that exclusion, git's normal `.gitignore` handling already applies
79
- * here: `.gitignore` matching is a work-tree-relative feature of git and
80
- * works identically regardless of where GIT_DIR points, so the workspace's
81
- * own `.gitignore` (node_modules, build output, etc.) is honored with no
82
- * extra configuration.
75
+ * (scoped snapshot). Otherwise sweep the whole work tree with a plain `.`
76
+ * pathspec. `.goodvibes` (our own storage) is kept out of that sweep by
77
+ * `.goodvibes/.gitignore`'s own `*` self-ignore line, written by `init()`
78
+ * (via `ensureGoodvibesIgnored()`) before this method can ever run — NOT by
79
+ * naming `.goodvibes` explicitly here. An earlier version of this method
80
+ * did pass an explicit `:(exclude).goodvibes` / `:(exclude).goodvibes/**`
81
+ * pathspec (mirroring the pattern AgentWorktree uses for the same reason),
82
+ * but that breaks the moment the WORKSPACE's own top-level `.gitignore`
83
+ * also happens to contain a `.goodvibes/` rule (exactly what this project's
84
+ * own TUI writes at startup): git aborts the entire `add -A` with "The
85
+ * following paths are ignored by one of your .gitignore files: .goodvibes
86
+ * ... Use -f if you really want to add them," because naming an
87
+ * already-ignored path in ANY pathspec — exclude magic or not — triggers
88
+ * that check. A path git discovers and skips implicitly while walking a
89
+ * wildcard `.` sweep never hits that check. Beyond `.goodvibes`, git's
90
+ * normal `.gitignore` handling already applies here: `.gitignore` matching
91
+ * is a work-tree-relative feature of git and works identically regardless
92
+ * of where GIT_DIR points, so the workspace's own `.gitignore`
93
+ * (node_modules, build output, etc.) is honored with no extra
94
+ * configuration.
83
95
  */
84
96
  stageAll(paths?: string[]): Promise<void>;
85
97
  /** Write the currently-staged index out as a tree object, without committing. Returns the tree hash. */
@@ -1 +1 @@
1
- {"version":3,"file":"side-git.d.ts","sourceRoot":"","sources":["../../../../src/platform/workspace/checkpoint/side-git.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAQH,0EAA0E;AAC1E,eAAO,MAAM,eAAe,6CAA6C,CAAC;AAE1E,0DAA0D;AAC1D,eAAO,MAAM,qBAAqB,gCAAgC,CAAC;AA8CnE,MAAM,WAAW,oBAAoB;IACnC,2DAA2D;IAC3D,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,+DAA+D;IAC/D,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;;GAKG;AACH,qBAAa,aAAa;IACxB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAY;gBAEpB,IAAI,EAAE,oBAAoB;IAUtC,gFAAgF;IAC1E,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IAI1C;;;;;OAKG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAkB3B;;;;;;;;;OASG;IACH,OAAO,CAAC,sBAAsB;IAuB9B;;;;;;;;;;;;OAYG;IACG,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAO/C,wGAAwG;IAClG,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC;IAIlC,6DAA6D;IACvD,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI7C;;;;;;;;;;;;;;;;;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AAA;KAAE,EAAE,CAAC;IAmBrE,+DAA+D;IACzD,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAK/D,+FAA+F;IACzF,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlD,wGAAwG;IAClG,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAIvC,iGAAiG;IAC3F,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAItD,wGAAwG;IAClG,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI1D,6GAA6G;IACvG,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAKhE,6CAA6C;IACvC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;CAG1B"}
@@ -161,19 +161,29 @@ export class SideGitRunner {
161
161
  * Stage changes into the side index.
162
162
  *
163
163
  * @param paths When provided (non-empty), stage only these pathspecs
164
- * (scoped snapshot). Otherwise sweep the whole work tree, always excluding
165
- * `.goodvibes` (our own storage) via pathspec magic the same
166
- * `:(exclude)` pattern AgentWorktree already uses for the same reason.
167
- * Beyond that exclusion, git's normal `.gitignore` handling already applies
168
- * here: `.gitignore` matching is a work-tree-relative feature of git and
169
- * works identically regardless of where GIT_DIR points, so the workspace's
170
- * own `.gitignore` (node_modules, build output, etc.) is honored with no
171
- * extra configuration.
164
+ * (scoped snapshot). Otherwise sweep the whole work tree with a plain `.`
165
+ * pathspec. `.goodvibes` (our own storage) is kept out of that sweep by
166
+ * `.goodvibes/.gitignore`'s own `*` self-ignore line, written by `init()`
167
+ * (via `ensureGoodvibesIgnored()`) before this method can ever run — NOT by
168
+ * naming `.goodvibes` explicitly here. An earlier version of this method
169
+ * did pass an explicit `:(exclude).goodvibes` / `:(exclude).goodvibes/**`
170
+ * pathspec (mirroring the pattern AgentWorktree uses for the same reason),
171
+ * but that breaks the moment the WORKSPACE's own top-level `.gitignore`
172
+ * also happens to contain a `.goodvibes/` rule (exactly what this project's
173
+ * own TUI writes at startup): git aborts the entire `add -A` with "The
174
+ * following paths are ignored by one of your .gitignore files: .goodvibes
175
+ * ... Use -f if you really want to add them," because naming an
176
+ * already-ignored path in ANY pathspec — exclude magic or not — triggers
177
+ * that check. A path git discovers and skips implicitly while walking a
178
+ * wildcard `.` sweep never hits that check. Beyond `.goodvibes`, git's
179
+ * normal `.gitignore` handling already applies here: `.gitignore` matching
180
+ * is a work-tree-relative feature of git and works identically regardless
181
+ * of where GIT_DIR points, so the workspace's own `.gitignore`
182
+ * (node_modules, build output, etc.) is honored with no extra
183
+ * configuration.
172
184
  */
173
185
  async stageAll(paths) {
174
- const pathspecs = paths && paths.length > 0
175
- ? paths
176
- : ['.', ':(exclude).goodvibes', ':(exclude).goodvibes/**'];
186
+ const pathspecs = paths && paths.length > 0 ? paths : ['.'];
177
187
  await this.git.raw(['add', '-A', '--', ...pathspecs]);
178
188
  }
179
189
  /** Write the currently-staged index out as a tree object, without committing. Returns the tree hash. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pellux/goodvibes-sdk",
3
- "version": "0.37.1",
3
+ "version": "0.37.2",
4
4
  "description": "TypeScript SDK for building GoodVibes operator, peer, web, mobile, and daemon-connected apps with typed contracts, auth, realtime events, and transport layers.",
5
5
  "keywords": [
6
6
  "goodvibes",
@@ -453,14 +453,14 @@
453
453
  "sideEffects": false,
454
454
  "type": "module",
455
455
  "dependencies": {
456
- "@pellux/goodvibes-contracts": "0.37.1",
457
- "@pellux/goodvibes-daemon-sdk": "0.37.1",
458
- "@pellux/goodvibes-errors": "0.37.1",
459
- "@pellux/goodvibes-operator-sdk": "0.37.1",
460
- "@pellux/goodvibes-peer-sdk": "0.37.1",
461
- "@pellux/goodvibes-transport-core": "0.37.1",
462
- "@pellux/goodvibes-transport-http": "0.37.1",
463
- "@pellux/goodvibes-transport-realtime": "0.37.1"
456
+ "@pellux/goodvibes-contracts": "0.37.2",
457
+ "@pellux/goodvibes-daemon-sdk": "0.37.2",
458
+ "@pellux/goodvibes-errors": "0.37.2",
459
+ "@pellux/goodvibes-operator-sdk": "0.37.2",
460
+ "@pellux/goodvibes-peer-sdk": "0.37.2",
461
+ "@pellux/goodvibes-transport-core": "0.37.2",
462
+ "@pellux/goodvibes-transport-http": "0.37.2",
463
+ "@pellux/goodvibes-transport-realtime": "0.37.2"
464
464
  },
465
465
  "optionalDependencies": {
466
466
  "@agentclientprotocol/sdk": "^0.21.0",