@ellipsis-dev/sdk 0.4.0 → 0.5.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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AgentSessionWire, L as ListSessionRecordsResponse, a as ListSessionTurnsResponse, b as ListSessionExecutionsResponse, S as SessionMessageWire, C as CreateReviewRequest, R as Review, c as ListReviewsResponse } from './types-CtTRS9eJ.js';
2
- export { d as AgentSessionExitStatus, e as AgentSessionPr, f as AgentSessionSource, g as AgentSessionStatus, h as AgentTurn, i as AgentTurnStatus, j as AttributionType, B as BudgetSource, D as DefaultResolution, k as DeltaFrame, l as DoneFrame, E as ErrorFrame, F as Finding, G as GithubAccountSnippet, m as GithubAccountType, H as Harness, n as HeartbeatFrame, P as ParentKind, o as PromptBlockedReason, p as RecordsAppendFrame, q as ResolvedReviewScope, r as ReviewCounters, s as ReviewScope, t as ReviewScopeKind, u as SendSessionMessageRequest, v as SessionExecutionWire, w as SessionFrame, x as SessionLiveness, y as SessionMessageStatus, z as SessionPrompting, I as SessionRecordWire, J as SessionState, K as SessionStreamFrame, M as SessionSurface, N as SnapshotFrame, O as StreamFrame, T as TokensInfo, Q as components, U as paths } from './types-CtTRS9eJ.js';
1
+ import { A as AgentSessionWire, L as ListSessionRecordsResponse, a as ListSessionTurnsResponse, b as ListSessionExecutionsResponse, S as SessionMessageWire, C as CreateReviewRequest, R as Review, c as ListReviewsResponse } from './types-BoKi5b8D.js';
2
+ export { d as AgentSessionExitStatus, e as AgentSessionPr, f as AgentSessionSource, g as AgentSessionStatus, h as AgentTurn, i as AgentTurnStatus, j as AttributionType, B as BudgetSource, D as DefaultResolution, k as DeltaFrame, l as DoneFrame, E as ErrorFrame, F as Finding, G as GithubAccountSnippet, m as GithubAccountType, H as Harness, n as HeartbeatFrame, P as ParentKind, o as PromptBlockedReason, p as RecordsAppendFrame, q as ResolvedReviewScope, r as ReviewCounters, s as ReviewScope, t as ReviewScopeKind, u as SendSessionMessageRequest, v as SessionExecutionWire, w as SessionFrame, x as SessionLiveness, y as SessionMessageStatus, z as SessionPrompting, I as SessionRecordWire, J as SessionState, K as SessionStreamFrame, M as SessionSurface, N as SnapshotFrame, O as StreamFrame, T as TokensInfo, Q as components, U as paths } from './types-BoKi5b8D.js';
3
3
 
4
4
  type FetchJson = (path: string, init?: {
5
5
  method?: string;
@@ -1,4 +1,4 @@
1
- import { I as SessionRecordWire, A as AgentSessionWire, S as SessionMessageWire, O as StreamFrame } from '../types-CtTRS9eJ.js';
1
+ import { I as SessionRecordWire, A as AgentSessionWire, S as SessionMessageWire, O as StreamFrame } from '../types-BoKi5b8D.js';
2
2
 
3
3
  interface ChatToolNode {
4
4
  key: string;
@@ -1,4 +1,4 @@
1
- import { O as StreamFrame, A as AgentSessionWire } from '../types-CtTRS9eJ.js';
1
+ import { O as StreamFrame, A as AgentSessionWire } from '../types-BoKi5b8D.js';
2
2
 
3
3
  declare const SESSION_STREAM_PROTOCOL_VERSION = 3;
4
4
  declare const WS_CLOSE_NORMAL = 1000;
@@ -517,7 +517,7 @@ interface components {
517
517
  * `value`, when set, is a literal injected as-is — use it for non-secret
518
518
  * config (LOG_LEVEL, an API base URL). When `value` is omitted the value is
519
519
  * resolved at run time from the customer's sandbox-variables store (dashboard
520
- * / `PUT /sandboxes/variables`) by `name`, so a secret can be injected without
520
+ * / `PUT /v1/variables`) by `name`, so a secret can be injected without
521
521
  * ever putting it in the config file. Either way the variable only reaches
522
522
  * agents that name it.
523
523
  */
@@ -584,7 +584,7 @@ interface components {
584
584
  * a deliberate cancellation. It is None until the run reaches a terminal state.
585
585
  * @enum {string}
586
586
  */
587
- AgentSessionExitStatus: 'completed' | 'budget_hit' | 'payment_required' | 'tool_call_failed' | 'lifecycle_hook_failed' | 'missing_repo_access' | 'missing_token_permissions' | 'cancelled' | 'interrupted' | 'error' | 'stopped';
587
+ AgentSessionExitStatus: 'completed' | 'budget_hit' | 'payment_required' | 'tool_call_failed' | 'lifecycle_hook_failed' | 'missing_repo_access' | 'missing_token_permissions' | 'missing_sandbox_variables' | 'cancelled' | 'interrupted' | 'error' | 'stopped';
588
588
  /**
589
589
  * AgentSessionPr
590
590
  * @description A pull request this session created, denormalized at capture time so
@@ -1964,7 +1964,7 @@ type DefaultResolution = 'repo_default' | 'account_default' | 'none';
1964
1964
  * the UI and metrics can tell a budget cutoff apart from a crashed tool call or
1965
1965
  * a deliberate cancellation. It is None until the run reaches a terminal state.
1966
1966
  */
1967
- type AgentSessionExitStatus = 'completed' | 'budget_hit' | 'payment_required' | 'tool_call_failed' | 'lifecycle_hook_failed' | 'missing_repo_access' | 'missing_token_permissions' | 'cancelled' | 'interrupted' | 'error' | 'stopped';
1967
+ type AgentSessionExitStatus = 'completed' | 'budget_hit' | 'payment_required' | 'tool_call_failed' | 'lifecycle_hook_failed' | 'missing_repo_access' | 'missing_token_permissions' | 'missing_sandbox_variables' | 'cancelled' | 'interrupted' | 'error' | 'stopped';
1968
1968
  type Harness = 'claude_code';
1969
1969
  /**
1970
1970
  * How a session relates to its predecessor (parent_agent_session_id) —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ellipsis-dev/sdk",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "TypeScript SDK for the Ellipsis agents platform: /v1 REST types + client, the session stream WebSocket client, and the session transcript store.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -10,6 +10,7 @@
10
10
  "lifecycle_hook_failed",
11
11
  "missing_repo_access",
12
12
  "missing_token_permissions",
13
+ "missing_sandbox_variables",
13
14
  "cancelled",
14
15
  "interrupted",
15
16
  "error",
@@ -787,7 +787,7 @@
787
787
  },
788
788
  "AgentConfigSandboxVariable": {
789
789
  "additionalProperties": false,
790
- "description": "One environment variable injected into the agent's sandbox.\n\n`value`, when set, is a literal injected as-is \u2014 use it for non-secret\nconfig (LOG_LEVEL, an API base URL). When `value` is omitted the value is\nresolved at run time from the customer's sandbox-variables store (dashboard\n/ `PUT /sandboxes/variables`) by `name`, so a secret can be injected without\never putting it in the config file. Either way the variable only reaches\nagents that name it.",
790
+ "description": "One environment variable injected into the agent's sandbox.\n\n`value`, when set, is a literal injected as-is \u2014 use it for non-secret\nconfig (LOG_LEVEL, an API base URL). When `value` is omitted the value is\nresolved at run time from the customer's sandbox-variables store (dashboard\n/ `PUT /v1/variables`) by `name`, so a secret can be injected without\never putting it in the config file. Either way the variable only reaches\nagents that name it.",
791
791
  "properties": {
792
792
  "name": {
793
793
  "title": "Name",
@@ -906,6 +906,7 @@
906
906
  "lifecycle_hook_failed",
907
907
  "missing_repo_access",
908
908
  "missing_token_permissions",
909
+ "missing_sandbox_variables",
909
910
  "cancelled",
910
911
  "interrupted",
911
912
  "error",