@agentsky/sky 3.45.0 → 3.47.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  USER_AGENT
3
- } from "./chunk-7DFFA6GA.js";
3
+ } from "./chunk-2OIW436E.js";
4
4
  import {
5
5
  apiBase,
6
6
  apiToken,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CLI_VERSION
3
- } from "./chunk-7DFFA6GA.js";
3
+ } from "./chunk-2OIW436E.js";
4
4
 
5
5
  // src/skill.ts
6
6
  import { mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -91,6 +91,11 @@ account default workspace. Never ask. Pass the chosen slug as \`workspace\` on
91
91
  every MCP tool that accepts it, or as \`--workspace <slug>\` on sky commands.
92
92
  Details: \`${REFERENCES_DIR}/workspaces.md\` in this skill's folder.
93
93
 
94
+ ## Work handed to you
95
+
96
+ At the start of work, call \`list_asks\` for anything handed to you, and answer
97
+ each one you can with \`answer_ask\`.
98
+
94
99
  ## When to hire
95
100
 
96
101
  - When the person names an agent (\`@handle\`) or an engine, or asks another agent
@@ -178,9 +183,9 @@ it, and name its path in the brief.
178
183
  take a minute.
179
184
  - Run independent agents at the same time: start them all, then read each.
180
185
  - To steer or answer an agent, \`send_message\` once its turn is finished.
181
- - If \`get_session_status\` shows a request waiting on the person (a question, an approval,
186
+ - If \`list_asks\` shows a request waiting on the person (a question, an approval,
182
187
  or an app to connect with its link), show it to them and pass their answer with
183
- \`answer_request\`. Never approve spending or access on their behalf.
188
+ \`answer_ask\`. Never approve spending or access on their behalf.
184
189
  - An agent that finishes its first turn with no reply did not start properly:
185
190
  \`stop_session\` it and hire again, or do that part yourself.
186
191
 
@@ -456,8 +461,8 @@ the agent's questions, approvals, and apps to connect.
456
461
  \`POST /v1/sessions/{id}/questions/{request id}/answer\` with \`{"text": ...}\` or
457
462
  \`{"option_id": ...}\` answers one. Pass a customer's answer on only after
458
463
  your application has checked who they are. By hand: \`sky session status <id>\` and
459
- \`sky session answer <id> <request> --text "..."\` (MCP: \`get_session_status\`,
460
- \`answer_request\`).
464
+ \`sky session answer <id> <request> --text "..."\` (MCP: \`list_asks\`,
465
+ \`answer_ask\`).
461
466
 
462
467
  ## 7. What the application keeps
463
468
 
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  SKILL_MARKER,
3
3
  SKILL_NAME
4
- } from "./chunk-OBRH43HE.js";
4
+ } from "./chunk-OXCZMLEZ.js";
5
5
  import {
6
6
  CLI_VERSION
7
- } from "./chunk-7DFFA6GA.js";
7
+ } from "./chunk-2OIW436E.js";
8
8
  import {
9
9
  configPath
10
10
  } from "./chunk-XHZJG3QT.js";
@@ -1,6 +1,22 @@
1
+ import {
2
+ ApiError,
3
+ api
4
+ } from "./chunk-LM3WPNRW.js";
1
5
  import {
2
6
  installClaudeHooks
3
- } from "./chunk-UHEJFBZJ.js";
7
+ } from "./chunk-IJOMMFEK.js";
8
+ import {
9
+ loadLocalSkillState,
10
+ revisionAt
11
+ } from "./chunk-QTMW37EN.js";
12
+ import {
13
+ USER_AGENT
14
+ } from "./chunk-2OIW436E.js";
15
+ import {
16
+ apiBase,
17
+ apiToken,
18
+ configPath
19
+ } from "./chunk-XHZJG3QT.js";
4
20
  import {
5
21
  IncompleteSourceCaptureError,
6
22
  SOURCE_CAPTURE_VERSION,
@@ -16,28 +32,12 @@ import {
16
32
  savePendingSource,
17
33
  stillExcluded,
18
34
  writePrivateJson
19
- } from "./chunk-YYDO5WB5.js";
35
+ } from "./chunk-YYI5NQ35.js";
20
36
  import {
21
37
  SessionSourceCollector,
22
38
  publicRemote,
23
39
  redactTraceText
24
- } from "./chunk-AM6GOGA6.js";
25
- import {
26
- ApiError,
27
- api
28
- } from "./chunk-WLTOVOTW.js";
29
- import {
30
- loadLocalSkillState,
31
- revisionAt
32
- } from "./chunk-WSQZHRE4.js";
33
- import {
34
- USER_AGENT
35
- } from "./chunk-7DFFA6GA.js";
36
- import {
37
- apiBase,
38
- apiToken,
39
- configPath
40
- } from "./chunk-XHZJG3QT.js";
40
+ } from "./chunk-KX6JJECK.js";
41
41
 
42
42
  // src/trace-library.ts
43
43
  import { createHash as createHash3 } from "crypto";
@@ -969,6 +969,7 @@ var backoffMs = (attempt) => Math.min(3e4, 1e3 * 2 ** attempt);
969
969
  function skyDir() {
970
970
  return process.env.SKY_CONFIG_DIR ?? join4(homedir4(), ".config", "sky");
971
971
  }
972
+ var SYNC_STATE_NAMES = ["trace-sync-state.json", "session-results.json", "trace-sync-codex-ids.json", "trace-pending", "trace-sync.lock"];
972
973
  function syncConfigPath() {
973
974
  return join4(skyDir(), "trace-sync.json");
974
975
  }
@@ -1987,6 +1988,7 @@ export {
1987
1988
  SINGLE_REQUEST_MAX_BYTES,
1988
1989
  transfer,
1989
1990
  uploadLargeFile,
1991
+ SYNC_STATE_NAMES,
1990
1992
  syncConfigPath,
1991
1993
  lastUploads,
1992
1994
  loadSyncConfig,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  UnsafeImportError,
3
3
  redactLine
4
- } from "./chunk-AM6GOGA6.js";
4
+ } from "./chunk-KX6JJECK.js";
5
5
 
6
6
  // src/trace-exclusions.ts
7
7
  import { existsSync as existsSync3, readFileSync as readFileSync2 } from "fs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  api
3
- } from "./chunk-WLTOVOTW.js";
4
- import "./chunk-7DFFA6GA.js";
3
+ } from "./chunk-LM3WPNRW.js";
4
+ import "./chunk-2OIW436E.js";
5
5
  import "./chunk-XHZJG3QT.js";
6
6
  import "./chunk-MLKGABMK.js";
7
7
 
@@ -0,0 +1,39 @@
1
+ import {
2
+ MCP_ENTRY,
3
+ computerClients,
4
+ computerReport,
5
+ describeRepair,
6
+ engineReports,
7
+ forgetComputer,
8
+ machineKey,
9
+ repairComputer,
10
+ reportComputer,
11
+ savedMachineKey,
12
+ upkeepComputer
13
+ } from "./chunk-I63VASQP.js";
14
+ import "./chunk-IZT53CAI.js";
15
+ import "./chunk-AKCKFNLJ.js";
16
+ import "./chunk-6LQLH5CI.js";
17
+ import "./chunk-U25SCHLE.js";
18
+ import "./chunk-LM3WPNRW.js";
19
+ import "./chunk-IJOMMFEK.js";
20
+ import "./chunk-QTMW37EN.js";
21
+ import "./chunk-OXCZMLEZ.js";
22
+ import "./chunk-2OIW436E.js";
23
+ import "./chunk-XHZJG3QT.js";
24
+ import "./chunk-YYI5NQ35.js";
25
+ import "./chunk-KX6JJECK.js";
26
+ import "./chunk-MLKGABMK.js";
27
+ export {
28
+ MCP_ENTRY,
29
+ computerClients,
30
+ computerReport,
31
+ describeRepair,
32
+ engineReports,
33
+ forgetComputer,
34
+ machineKey,
35
+ repairComputer,
36
+ reportComputer,
37
+ savedMachineKey,
38
+ upkeepComputer
39
+ };