@ellipsis-dev/sdk 0.17.0 → 0.19.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ellipsis-dev/sdk",
3
- "version": "0.17.0",
3
+ "version": "0.19.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",
@@ -18,7 +18,7 @@
18
18
  "effort": null,
19
19
  "fallback_model": null,
20
20
  "max_turns": null,
21
- "model": "claude-opus-5",
21
+ "model": null,
22
22
  "settings": null,
23
23
  "system": ""
24
24
  }
@@ -263,9 +263,16 @@
263
263
  "title": "Max Turns"
264
264
  },
265
265
  "model": {
266
- "default": "claude-opus-5",
267
- "title": "Model",
268
- "type": "string"
266
+ "anyOf": [
267
+ {
268
+ "type": "string"
269
+ },
270
+ {
271
+ "type": "null"
272
+ }
273
+ ],
274
+ "default": null,
275
+ "title": "Model"
269
276
  },
270
277
  "settings": {
271
278
  "anyOf": [
@@ -953,10 +960,9 @@
953
960
  "type": "object"
954
961
  },
955
962
  "AgentConfigMentionPlatform": {
956
- "description": "The surface an @ellipsis mention can come from.",
963
+ "description": "The surface an @ellipsis mention can come from.\n\nNo SLACK member: Slack routing is not a trigger on an agent config, it is the\n`slack.yaml` routing file (`SlackConfig`), which answers the questions a\nplatform list cannot \u2014 which channel, and whose DM. A mention trigger listing\n`slack` is therefore a config error, not a silently-never-fires config.",
957
964
  "enum": [
958
965
  "github",
959
- "slack",
960
966
  "linear"
961
967
  ],
962
968
  "title": "AgentConfigMentionPlatform",
@@ -4311,13 +4317,9 @@
4311
4317
  "type": "object"
4312
4318
  },
4313
4319
  "SessionAgent": {
4314
- "description": "The agent this session ran: the config it actually executed, where that\nconfig came from, and the diff that was merged in \u2014 the same\neffective-value-plus-provenance shape `SessionBudget` uses.\n\n`config` is the snapshot frozen when the session was created; `config_id`\npoints at the saved config as it exists NOW. They diverge legitimately: a\nYAML edit after the session started, or any `override`, leaves the pointer\ndescribing something the session never ran.",
4320
+ "description": "The agent this session ran: the definition it actually executed, where\nthat definition came from, and the diff that was merged in \u2014 the same\neffective-value-plus-provenance shape `SessionBudget` uses.\n\n`config` is the snapshot frozen when the session was created;\n`automation_id` points at the automation as it exists NOW. They diverge\nlegitimately: a YAML edit after the session started, or any `override`,\nleaves the pointer describing something the session never ran.",
4315
4321
  "properties": {
4316
- "config": {
4317
- "$ref": "#/$defs/AgentConfig",
4318
- "description": "The agent config the session actually ran, frozen when the session was created."
4319
- },
4320
- "config_id": {
4322
+ "automation_id": {
4321
4323
  "anyOf": [
4322
4324
  {
4323
4325
  "type": "string"
@@ -4327,8 +4329,12 @@
4327
4329
  }
4328
4330
  ],
4329
4331
  "default": null,
4330
- "description": "Identifier of the saved config this session's snapshot was taken from. Null for inline, platform-default, and built-in configs. Points at the config as it exists now, which may have changed since.",
4331
- "title": "Config Id"
4332
+ "description": "Identifier of the automation this session's snapshot was taken from. Null for raw sessions (nothing saved behind them), templates, and built-in agents. Points at the automation as it exists now, which may have changed since.",
4333
+ "title": "Automation Id"
4334
+ },
4335
+ "config": {
4336
+ "$ref": "#/$defs/AgentConfig",
4337
+ "description": "The agent definition the session actually ran, frozen when the session was created."
4332
4338
  },
4333
4339
  "override": {
4334
4340
  "anyOf": [
@@ -4350,8 +4356,8 @@
4350
4356
  }
4351
4357
  },
4352
4358
  "required": [
4359
+ "automation_id",
4353
4360
  "config",
4354
- "config_id",
4355
4361
  "override",
4356
4362
  "source"
4357
4363
  ],
@@ -4569,6 +4575,36 @@
4569
4575
  "title": "SessionGit",
4570
4576
  "type": "object"
4571
4577
  },
4578
+ "SessionGitCommit": {
4579
+ "description": "One commit the session created in this repo (everything past the\nprovisioning checkout's sha), captured from the sandbox rather than the\ntranscript so it stays correct through amends, rebases, and commits made by\nscripts. The repo is the parent object, so it is not repeated here.",
4580
+ "properties": {
4581
+ "committed_at": {
4582
+ "format": "date-time",
4583
+ "title": "Committed At",
4584
+ "type": "string"
4585
+ },
4586
+ "pushed": {
4587
+ "title": "Pushed",
4588
+ "type": "boolean"
4589
+ },
4590
+ "sha": {
4591
+ "title": "Sha",
4592
+ "type": "string"
4593
+ },
4594
+ "subject": {
4595
+ "title": "Subject",
4596
+ "type": "string"
4597
+ }
4598
+ },
4599
+ "required": [
4600
+ "committed_at",
4601
+ "pushed",
4602
+ "sha",
4603
+ "subject"
4604
+ ],
4605
+ "title": "SessionGitCommit",
4606
+ "type": "object"
4607
+ },
4572
4608
  "SessionGitFile": {
4573
4609
  "description": "One file's uncommitted change, as `git diff HEAD --numstat` reports it\n(with intent-to-add, so a brand-new file still counts).",
4574
4610
  "properties": {
@@ -4599,7 +4635,7 @@
4599
4635
  "type": "object"
4600
4636
  },
4601
4637
  "SessionGitPr": {
4602
- "description": "A pull request the session opened in this repo, denormalized at capture\ntime so a surface renders a labeled link without joining gh_prs. Live PR\nstate (open/merged/closed) is not stored \u2014 read gh_prs where a view needs\nit. The repo is the parent object, so it is not repeated here.",
4638
+ "description": "A pull request the session opened in this repo, written the moment the\ncreating tool call's result lands (see extract_session_prs.PrCreateWatcher).\nLive PR state (open/merged/closed) is not stored \u2014 it lives on gh_prs,\njoined via `gh_pr_id` (GET /frontend/agents/sessions/{id}/git). The repo is\nthe parent object, so it is not repeated here.",
4603
4639
  "properties": {
4604
4640
  "gh_pr_id": {
4605
4641
  "anyOf": [
@@ -4646,6 +4682,19 @@
4646
4682
  "SessionGitRepo": {
4647
4683
  "description": "One checkout in the session's sandbox and everything the session did to\nit, split by whether it survived the sandbox.",
4648
4684
  "properties": {
4685
+ "commits": {
4686
+ "default": [],
4687
+ "items": {
4688
+ "$ref": "#/$defs/SessionGitCommit"
4689
+ },
4690
+ "title": "Commits",
4691
+ "type": "array"
4692
+ },
4693
+ "commits_total": {
4694
+ "default": 0,
4695
+ "title": "Commits Total",
4696
+ "type": "integer"
4697
+ },
4649
4698
  "full_name": {
4650
4699
  "title": "Full Name",
4651
4700
  "type": "string"
@@ -4704,6 +4753,8 @@
4704
4753
  }
4705
4754
  },
4706
4755
  "required": [
4756
+ "commits",
4757
+ "commits_total",
4707
4758
  "full_name",
4708
4759
  "local_commit",
4709
4760
  "local_uncommitted_files",