replicas-engine 0.1.1665 → 0.1.1668

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.
@@ -8,12 +8,12 @@ import {
8
8
  listCodexModelsForDetails,
9
9
  restartCodexAspHost,
10
10
  restartCodexAspHostIfRunning
11
- } from "./chunk-BWFKLJHJ.js";
12
- import "./chunk-JJWUCU5M.js";
13
- import "./chunk-JQ2FVHUS.js";
14
- import "./chunk-KJOMLSWD.js";
11
+ } from "./chunk-KZSL7XN6.js";
12
+ import "./chunk-ITVVSNFO.js";
13
+ import "./chunk-YDW4J5Q7.js";
14
+ import "./chunk-TPQPZ5RB.js";
15
15
  import "./chunk-UZSNFLDQ.js";
16
- import "./chunk-M2KVTSZT.js";
16
+ import "./chunk-A75PZTYH.js";
17
17
  import "./chunk-VEQXQN22.js";
18
18
  export {
19
19
  CODEX_ULTRAFAST_SERVICE_TIER,
@@ -9928,6 +9928,7 @@ var submitPullRequestReviewRequestSchema = z6.object({
9928
9928
  event: z6.enum(PULL_REQUEST_REVIEW_EVENTS),
9929
9929
  body: z6.string().trim().max(65536).default("")
9930
9930
  });
9931
+ var resolvePullRequestConflictsRequestSchema = z6.object({ merge: z6.boolean().default(true) }).strict();
9931
9932
  var text = z6.string().trim().catch("");
9932
9933
  var optionalText = z6.string().trim().min(1).optional().catch(void 0);
9933
9934
  var pullRequestTourSchema = z6.object({
@@ -10366,9 +10367,11 @@ var sandboxMemorySampleSchema = z7.object({
10366
10367
  memoryUsedMb: z7.number().min(0),
10367
10368
  memoryPressureSome: resourcePressure
10368
10369
  });
10370
+ var versionChangeSchema = z7.object({ from: z7.string(), to: z7.string() });
10371
+ var engineUpdateChangesSchema = z7.object({ engine: versionChangeSchema.optional(), cli: versionChangeSchema.optional() });
10369
10372
  var engineUpdateProgressSchema = z7.discriminatedUnion("state", [
10370
- z7.object({ state: z7.enum(["updating", "updated"]), from: z7.string(), to: z7.string() }),
10371
- z7.object({ state: z7.literal("failed"), from: z7.string(), to: z7.string(), reason: z7.string() })
10373
+ engineUpdateChangesSchema.extend({ state: z7.enum(["updating", "updated"]) }),
10374
+ engineUpdateChangesSchema.extend({ state: z7.literal("failed"), reason: z7.string() })
10372
10375
  ]);
10373
10376
  var MAX_CANVAS_FILE_BYTES = 100 * 1024 * 1024;
10374
10377
  var MAX_CANVAS_PREVIEW_BYTES = 5 * 1024 * 1024;
@@ -13520,8 +13523,76 @@ var GPU_ABILITY = {
13520
13523
  referenceFile: { name: "GPU.md", content: REFERENCE6 }
13521
13524
  };
13522
13525
 
13526
+ // ../shared/src/default-skills/replicas-agent/abilities/issues.ts
13527
+ var SECTION7 = `### Issues
13528
+ Track work in Replicas Issues (\`REP-42\`), the shared to-do list of the people and agents in this organization, with \`replicas issue\` or the \`issue_*\` MCP tools.
13529
+
13530
+ **Reference:** \`references/ISSUES.md\`
13531
+
13532
+ Use this when:
13533
+ - You are told to work on an issue, or a message names one like \`REP-42\`
13534
+ - You receive an \`<issue_event>\` block
13535
+ - You open a pull request, finish, get blocked, or need a person to decide something on an issue you work on
13536
+ - Someone asks you to file, update, or split up work`;
13537
+ var REFERENCE7 = `# Replicas Issues
13538
+
13539
+ Issues are how people and agents in this organization track work. Each has an identifier like \`REP-42\`, a title, a markdown description, a status, a priority, assignees (people and workspaces), subscribers, comments, linked pull requests, and an activity log. Pass the identifier everywhere an issue is asked for.
13540
+
13541
+ Use the CLI, or the matching \`issue_*\` MCP tools when you have them; both act as this workspace. Add \`--json\` to any command for machine-readable output.
13542
+
13543
+ \`\`\`bash
13544
+ replicas issue view REP-42 # description, comments, activity, pull requests
13545
+ replicas issue list --mine # issues assigned to this workspace
13546
+ replicas issue list --status todo,in_progress
13547
+ replicas issue search "login redirect"
13548
+ replicas issue create "Login redirect loses the return path" --description-file /tmp/desc.md --priority high
13549
+ replicas issue update REP-42 --status in_progress
13550
+ replicas issue update REP-42 --title "..." --description-file /tmp/desc.md
13551
+ replicas issue comment REP-42 "Ready for review: https://github.com/acme/app/pull/12"
13552
+ replicas issue comment REP-42 "Before and after" --attach /tmp/after.png
13553
+ replicas issue assign REP-42 alice@acme.com # a member's email, user ID, or a workspace ID; \`me\` is this workspace
13554
+ replicas issue subscribe REP-42 | unsubscribe REP-42
13555
+ replicas issue link-pr REP-42 https://github.com/acme/app/pull/12
13556
+ replicas issue relate REP-42 blocks REP-43 | duplicate_of REP-40
13557
+ \`\`\`
13558
+
13559
+ Statuses: \`backlog\`, \`todo\`, \`in_progress\`, \`in_review\`, \`done\`, \`canceled\`, \`duplicate\`. Priorities: \`none\`, \`urgent\`, \`high\`, \`medium\`, \`low\`.
13560
+
13561
+ ## Events
13562
+
13563
+ You are subscribed to issues you create, are assigned to, comment on, or are mentioned in. Every change someone else makes to them arrives in your chat as an \`<issue_event>\` block: the issue, what changed (old \u2192 new for the title and status, the full text of a comment), who did it, and a link. Several changes in a short window arrive as one message. Your own changes are never echoed back.
13564
+
13565
+ Read the event and act only when it asks something of you: a person's question or decision in a comment, a new assignment, a status set back to \`todo\`. If it needs nothing from you, end your turn without replying; if you must write something, write only \`No action needed.\`
13566
+
13567
+ ## Etiquette
13568
+
13569
+ **Titles name the problem**, not the fix: "Checkout fails for EU cards", not "Fix Stripe". **Descriptions carry the evidence:** what happens, how to reproduce it, links (Slack threads, logs, Sentry, pull requests), and screenshots. Write the description to a file and pass \`--description-file\`, so markdown survives your shell.
13570
+
13571
+ **Show, don't tell.** Attach screenshots and recordings with \`--attach <file>\` on \`create\`, \`update\` or \`comment\`; each file is uploaded through \`replicas media upload\` and embedded inline. A media URL you already have embeds as \`![caption](url)\`.
13572
+
13573
+ **Keep the status true as you go:**
13574
+ 1. \`in_progress\` when you start.
13575
+ 2. \`in_review\` when its pull request is open, and comment with the link: "Ready for review: <url>". A pull request opened from a workspace assigned to the issue, or whose title or body mentions \`REP-42\`, links itself and moves the issue to \`in_review\`; merging it moves the issue to \`done\`. Mention the identifier in the pull request body.
13576
+ 3. \`done\` when the work is shipped and nothing is left; \`canceled\` when it won't be done.
13577
+
13578
+ **Keep the description current**, the way a good PM does: when the scope or the plan changes, edit it rather than burying the change in comment 14. Comments are for progress, questions, and decisions.
13579
+
13580
+ **Ask a person** by assigning them and commenting with exactly what you need decided; mention them as \`@email\` in the comment. Their reply arrives as an \`<issue_event>\`.
13581
+
13582
+ **Split big work:** create sub-issues with \`--parent REP-42\`, one per pull request or separable piece, and link blockers with \`relate\`.
13583
+
13584
+ **Before filing**, search for an existing issue; if you find one, comment there, or file yours and \`relate ... duplicate_of\` it.
13585
+ `;
13586
+ var ISSUES_ABILITY = {
13587
+ label: "Issues",
13588
+ description: "File, update, and follow Replicas Issues, and keep their status, description, and pull requests current.",
13589
+ bullet: "Working on, filing, or updating a Replicas issue (`REP-42`), or receiving an `<issue_event>`",
13590
+ section: SECTION7,
13591
+ referenceFile: { name: "ISSUES.md", content: REFERENCE7 }
13592
+ };
13593
+
13523
13594
  // ../shared/src/default-skills/replicas-agent/abilities/linear.ts
13524
- var SECTION7 = `### Linear
13595
+ var SECTION8 = `### Linear
13525
13596
  Create tickets, fetch issues, update state, add comments, and search through \`replicas.linear.graphql\` in \`@replicas/sdk\`. This works without a Linear MCP server and refreshes authentication automatically. Create tickets through it even when a Linear MCP server is configured: it credits the ticket to the person who asked, while an MCP server files it as whoever signed it in.
13526
13597
 
13527
13598
  **Reference:** \`references/LINEAR.md\`
@@ -13533,7 +13604,7 @@ Use this when:
13533
13604
  - You need to search Linear issues
13534
13605
  - You start working on a Linear issue and need to attach it to this workspace
13535
13606
  - A Linear request failed with an authentication error`;
13536
- var REFERENCE7 = `# Linear Integration
13607
+ var REFERENCE8 = `# Linear Integration
13537
13608
 
13538
13609
  Use \`@replicas/sdk\`; never request or handle a Linear OAuth token. Replicas refreshes the organization credential behind the gateway.
13539
13610
 
@@ -13638,12 +13709,12 @@ var LINEAR_ABILITY = {
13638
13709
  label: "Linear",
13639
13710
  description: "Create tickets, fetch issues, comment, and update state through @replicas/sdk.",
13640
13711
  bullet: "- Interacting with Linear (creating tickets, fetching issues including any linear.app link the user shares, updating state, commenting, or troubleshooting authentication): use replicas.linear.graphql from @replicas/sdk, which refreshes tokens automatically and needs no Linear MCP server. Read references/LINEAR.md before treating a rejected workspace token as a disconnected integration.",
13641
- section: SECTION7,
13642
- referenceFile: { name: "LINEAR.md", content: REFERENCE7 }
13712
+ section: SECTION8,
13713
+ referenceFile: { name: "LINEAR.md", content: REFERENCE8 }
13643
13714
  };
13644
13715
 
13645
13716
  // ../shared/src/default-skills/replicas-agent/abilities/local-computer.ts
13646
- var SECTION8 = `### The user's computer
13717
+ var SECTION9 = `### The user's computer
13647
13718
  Run commands on the user's own Mac or Linux computer over \`ssh <name>\`, such as an Xcode build, a simulator, or a tool that only exists there. Your instructions name the computers this workspace can reach, either through the desktop app's local control or as devices. With none, ask the user for theirs with \`replicas local-control request\`. To open or use an app on their Mac, use \`replicas computer mac\` instead (\`references/COMPUTER-USE.md\`), so the user's view never switches.
13648
13719
 
13649
13720
  **Reference:** \`references/LOCAL-COMPUTER.md\`
@@ -13651,7 +13722,7 @@ Run commands on the user's own Mac or Linux computer over \`ssh <name>\`, such a
13651
13722
  Use this when:
13652
13723
  - A task needs macOS, Xcode, the iOS Simulator, or hardware, files, or accounts that only the user's computer has
13653
13724
  - The user asks you to run something "on my computer", "locally", or "on my Mac"`;
13654
- var REFERENCE8 = `# The user's computer
13725
+ var REFERENCE9 = `# The user's computer
13655
13726
 
13656
13727
  Your instructions list the computers you can reach and how: \`ssh <name>\`, \`scp\` and \`rsync\` work as usual. The desktop app can connect a computer after your instructions were written, so list every host you can reach now:
13657
13728
 
@@ -13731,20 +13802,20 @@ var LOCAL_COMPUTER_ABILITY = {
13731
13802
  label: "User's computer",
13732
13803
  description: "Run commands, builds and simulators on the user's own Mac or Linux computer over `ssh`.",
13733
13804
  bullet: "- Running commands on the user's own computer (`ssh <name>`), such as a local Xcode build or the iOS Simulator, or opening and using an app on their Mac in the background (`replicas computer mac`, never `ssh` with `open` or AppleScript)",
13734
- section: SECTION8,
13735
- referenceFile: { name: "LOCAL-COMPUTER.md", content: REFERENCE8 }
13805
+ section: SECTION9,
13806
+ referenceFile: { name: "LOCAL-COMPUTER.md", content: REFERENCE9 }
13736
13807
  };
13737
13808
 
13738
13809
  // ../shared/src/default-skills/replicas-agent/abilities/macos.ts
13739
13810
  var WORKDIR = COMPUTE_SANDBOX_WORKDIRS.macos;
13740
- var SECTION9 = `### macOS sandboxes
13811
+ var SECTION10 = `### macOS sandboxes
13741
13812
  Build and test Apple apps (Xcode builds, iOS Simulator, Swift, macOS-only tools) on cloud Macs with \`replicas macos\`. The workspace itself runs Linux.
13742
13813
 
13743
13814
  **Reference:** \`references/MACOS.md\`
13744
13815
 
13745
13816
  Use this when:
13746
13817
  - A task needs macOS or Xcode: building an iOS or macOS app, running XCTest, booting an iOS Simulator, or a macOS-only tool`;
13747
- var REFERENCE9 = `# macOS sandboxes
13818
+ var REFERENCE10 = `# macOS sandboxes
13748
13819
 
13749
13820
  \`replicas macos\` starts a cloud Mac (Apple silicon, Xcode, iOS Simulator runtimes, Homebrew, git, Node, Python) and runs commands on it. It is authenticated automatically, and usage is billed at cost to the organization, so stop Macs when you are done.
13750
13821
 
@@ -13775,12 +13846,12 @@ var MACOS_ABILITY = {
13775
13846
  label: "macOS sandboxes",
13776
13847
  description: "Build and test iOS and macOS apps with Xcode and the iOS Simulator on cloud Macs with `replicas macos`.",
13777
13848
  bullet: "- Building and testing iOS or macOS apps (Xcode, iOS Simulator, Swift) on cloud Macs with `replicas macos`",
13778
- section: SECTION9,
13779
- referenceFile: { name: "MACOS.md", content: REFERENCE9 }
13849
+ section: SECTION10,
13850
+ referenceFile: { name: "MACOS.md", content: REFERENCE10 }
13780
13851
  };
13781
13852
 
13782
13853
  // ../shared/src/default-skills/replicas-agent/abilities/media.ts
13783
- var SECTION10 = `### Media
13854
+ var SECTION11 = `### Media
13784
13855
  Deliver screenshots, GIFs, screen recordings, generated diagrams, and audio clips to the Replicas dashboard and, when applicable, inline in the destination workflow.
13785
13856
 
13786
13857
  **Reference:** \`references/MEDIA.md\`
@@ -13791,7 +13862,7 @@ Use this when:
13791
13862
  - You need to show motion or an interaction (an animation, a popup that moves, a flow) in a PR or message: make a short looping GIF with \`replicas media gif\`, never a grid of frames
13792
13863
  - You record video output (browser automation, screen capture) \u2014 including the recommended aspect ratio and FPS
13793
13864
  - You need to embed media in a Slack/Linear/GitHub/GitLab message AND keep a referenceable copy in the Replicas dashboard`;
13794
- var REFERENCE10 = `# Media (Screenshots, GIFs, Recordings, Audio)
13865
+ var REFERENCE11 = `# Media (Screenshots, GIFs, Recordings, Audio)
13795
13866
 
13796
13867
  This is the single source of truth for delivering screenshots, GIFs, screen recordings, generated diagrams, and audio clips through Replicas and external surfaces (Slack, Linear, GitHub, GitLab). HTML pages are visuals: publish them with \`replicas visualize\` (see \`replicas visualize --help\`), not \`media upload\`.
13797
13868
 
@@ -14158,12 +14229,12 @@ var MEDIA_ABILITY = {
14158
14229
  label: "Media",
14159
14230
  description: "Deliver media to Replicas and destination workflows with inline uploads.",
14160
14231
  bullet: "- Producing or showing the user any media \u2014 screenshots, screen recordings, generated images or diagrams, or audio clips \u2014 including in your Replicas chat reply, PR descriptions/comments, and other external platforms. Paste the printed `![\u2026](\u2026)` embeds in your chat reply, never only dashboard links, and upload the file itself to Slack, Linear, or GitLab. To show motion, turn the recording into a short GIF with `replicas media gif` instead of a grid of frames",
14161
- section: SECTION10,
14162
- referenceFile: { name: "MEDIA.md", content: REFERENCE10 }
14232
+ section: SECTION11,
14233
+ referenceFile: { name: "MEDIA.md", content: REFERENCE11 }
14163
14234
  };
14164
14235
 
14165
14236
  // ../shared/src/default-skills/replicas-agent/abilities/previews.ts
14166
- var SECTION11 = `### Previews
14237
+ var SECTION12 = `### Previews
14167
14238
  Expose locally running services (web apps, APIs, databases) as public preview URLs so humans can interact with them directly.
14168
14239
 
14169
14240
  **Reference:** \`references/PREVIEWS.md\`
@@ -14173,7 +14244,7 @@ Use this when:
14173
14244
  - The task involves UI work that benefits from human review
14174
14245
  - You are verifying frontend/backend integrations visually
14175
14246
  - You need a URL for OAuth redirects, GitHub App callbacks, or webhooks (never the sandbox's \`*.sandbox.tensorlake.ai\` address)`;
14176
- var REFERENCE11 = `# Preview URLs
14247
+ var REFERENCE12 = `# Preview URLs
14177
14248
 
14178
14249
  When you run services on ports \u2014 such as a web app, API server, or database \u2014 humans may want to interact with them directly. You can expose your locally running services as public preview URLs.
14179
14250
 
@@ -14262,12 +14333,12 @@ var PREVIEWS_ABILITY = {
14262
14333
  label: "Previews",
14263
14334
  description: "Expose locally running services on public preview URLs for humans.",
14264
14335
  bullet: "- Creating preview URLs for locally running services, including OAuth redirect, app callback, and webhook URLs (never a raw `*.sandbox.tensorlake.ai` address)",
14265
- section: SECTION11,
14266
- referenceFile: { name: "PREVIEWS.md", content: REFERENCE11 }
14336
+ section: SECTION12,
14337
+ referenceFile: { name: "PREVIEWS.md", content: REFERENCE12 }
14267
14338
  };
14268
14339
 
14269
14340
  // ../shared/src/default-skills/replicas-agent/abilities/plugins.ts
14270
- var SECTION12 = `### Plugins
14341
+ var SECTION13 = `### Plugins
14271
14342
  Discover and execute installed marketplace tools through the workspace-scoped TypeScript SDK.
14272
14343
 
14273
14344
  **Reference:** \`references/PLUGINS.md\`
@@ -14285,7 +14356,7 @@ Use this when:
14285
14356
  - The user asks to read, triage, label, or draft replies to LinkedIn messages through Kondo
14286
14357
  - The user asks to query Sazabi logs, investigate Sazabi issues, or ask the Sazabi agent about production
14287
14358
  - The user asks to analyze text with Pangram`;
14288
- var REFERENCE12 = `# Plugins
14359
+ var REFERENCE13 = `# Plugins
14289
14360
 
14290
14361
  Plugins are TypeScript libraries, not MCP servers. Import \`@replicas/sdk\`; Replicas authenticates the workspace and uses the connection from the most specific environment in the workspace's fork chain. Provider credentials, sessions, and project keys are never exposed.
14291
14362
 
@@ -14479,12 +14550,12 @@ var PLUGINS_ABILITY = {
14479
14550
  label: "Plugins",
14480
14551
  description: "Use installed marketplace tools through @replicas/sdk.",
14481
14552
  bullet: "- Interacting with installed marketplace plugins through TypeScript",
14482
- section: SECTION12,
14483
- referenceFile: { name: "PLUGINS.md", content: REFERENCE12 }
14553
+ section: SECTION13,
14554
+ referenceFile: { name: "PLUGINS.md", content: REFERENCE13 }
14484
14555
  };
14485
14556
 
14486
14557
  // ../shared/src/default-skills/replicas-agent/abilities/replicas.ts
14487
- var SECTION13 = `### Replicas (in-workspace CLI)
14558
+ var SECTION14 = `### Replicas (in-workspace CLI)
14488
14559
  Take action *with* Replicas itself \u2014 manage automations, environments (variables, files), repos, and \`replicas.json\` config \u2014 using the pre-installed, pre-authenticated \`replicas\` CLI.
14489
14560
 
14490
14561
  **Reference:** \`references/REPLICAS.md\`
@@ -14498,7 +14569,7 @@ Use this when:
14498
14569
  - The user asks you to scaffold a \`replicas.json\` / \`replicas.yaml\` in a repo
14499
14570
  - You need to run a long-lived service (dev server, daemon) \u2014 always use \`replicas service start\` so it survives workspace sleep/wake
14500
14571
  - The user asks you to change how their Replicas app looks (theme, colors, accent) \u2014 use \`replicas theme set\` (see *Themes*)`;
14501
- var REFERENCE13 = `# Replicas (in-workspace CLI)
14572
+ var REFERENCE14 = `# Replicas (in-workspace CLI)
14502
14573
 
14503
14574
  This guide covers how to take action *with* Replicas itself from inside a Replicas workspace \u2014 managing automations, environments (and their variables/files), repos, previews, and the user's \`replicas.json\` config \u2014 using the pre-installed \`replicas\` CLI.
14504
14575
 
@@ -14816,13 +14887,13 @@ var REPLICAS_ABILITY = {
14816
14887
  label: "Replicas",
14817
14888
  description: "Teach the agent about Replicas itself \u2014 automations, environments, the in-workspace CLI.",
14818
14889
  bullet: "- Getting a secret, API key, or token you don't have from the user: run `replicas environment vars request <KEY>...`, which shows them a form. Never ask for the value in chat or tell them to add it in settings.",
14819
- section: SECTION13,
14820
- referenceFile: { name: "REPLICAS.md", content: REFERENCE13 },
14890
+ section: SECTION14,
14891
+ referenceFile: { name: "REPLICAS.md", content: REFERENCE14 },
14821
14892
  locked: true
14822
14893
  };
14823
14894
 
14824
14895
  // ../shared/src/default-skills/replicas-agent/abilities/sentry.ts
14825
- var SECTION14 = `### Sentry
14896
+ var SECTION15 = `### Sentry
14826
14897
  Read issues and project data through the workspace-scoped TypeScript SDK.
14827
14898
 
14828
14899
  **Reference:** \`references/SENTRY.md\`
@@ -14831,7 +14902,7 @@ Use this when:
14831
14902
  - A user shares a Sentry link (sentry.io or a self-hosted Sentry server)
14832
14903
  - You need to inspect Sentry projects or issues
14833
14904
  - A user asks for error-monitoring context outside a webhook-triggered task`;
14834
- var REFERENCE14 = `# Sentry Integration
14905
+ var REFERENCE15 = `# Sentry Integration
14835
14906
 
14836
14907
  Use \`@replicas/sdk\`; never request or read a Sentry token. Sentry access is organization-scoped and read-only.
14837
14908
 
@@ -14862,8 +14933,8 @@ var SENTRY_ABILITY = {
14862
14933
  label: "Sentry",
14863
14934
  description: "Read Sentry projects and issues through @replicas/sdk.",
14864
14935
  bullet: "- Interacting with Sentry (reading projects, issues, and error context, including any Sentry issue link the user shares): use replicas.sentry.request from @replicas/sdk. Read references/SENTRY.md to turn an issue link into API paths.",
14865
- section: SECTION14,
14866
- referenceFile: { name: "SENTRY.md", content: REFERENCE14 }
14936
+ section: SECTION15,
14937
+ referenceFile: { name: "SENTRY.md", content: REFERENCE15 }
14867
14938
  };
14868
14939
 
14869
14940
  // ../shared/src/memory.ts
@@ -14871,11 +14942,11 @@ var HISTORY_ROOT = `${SANDBOX_PATHS.REPLICAS_DIR}/history`;
14871
14942
  var HISTORY_INDEX_FILENAME = "INDEX.md";
14872
14943
 
14873
14944
  // ../shared/src/default-skills/replicas-agent/abilities/session-history.ts
14874
- var SECTION15 = `### Session history
14945
+ var SECTION16 = `### Session history
14875
14946
  Search past agent sessions in this organization when the user refers to prior work, a date, a teammate's session, or "last time".
14876
14947
 
14877
14948
  **Reference:** \`references/SESSION-HISTORY.md\``;
14878
- var REFERENCE15 = `# Session history
14949
+ var REFERENCE16 = `# Session history
14879
14950
 
14880
14951
  Past sessions are installed under \`${HISTORY_ROOT}\`:
14881
14952
 
@@ -14904,8 +14975,8 @@ var SESSION_HISTORY_ABILITY = {
14904
14975
  label: "Session history",
14905
14976
  description: "Search past agent sessions in this organization.",
14906
14977
  bullet: "",
14907
- section: SECTION15,
14908
- referenceFile: { name: "SESSION-HISTORY.md", content: REFERENCE15 },
14978
+ section: SECTION16,
14979
+ referenceFile: { name: "SESSION-HISTORY.md", content: REFERENCE16 },
14909
14980
  locked: true
14910
14981
  };
14911
14982
 
@@ -14916,7 +14987,7 @@ var SLACK_BLOCK_KIT_GUIDANCE = "Use Block Kit whenever structure or a link would
14916
14987
  var SLACK_PR_BUTTON_GUIDANCE = 'The first time you share a given pull request or merge request link in a thread (the message announcing you opened it), attach a button for it: send `blocks` alongside `text`, with a `section` block holding your message as `mrkdwn`, then an `actions` block with one element per newly shared link, `{"type": "button", "style": "primary", "text": {"type": "plain_text", "text": "View PR"}, "url": "<pr url>", "action_id": "view_pr"}`. The button replaces the link, so never put the raw URL in the section text. Later messages about a pull request you already linked in this thread get no button and refer to it with a short labeled link like `<pr url|#944>`, never a raw URL, and never re-post a button for a link someone already has. Label it "View MR" for GitLab, and if there are several give each button a unique `action_id` and name its repository in the label ("View PR \xB7 web"). Always keep `text` populated with the same message plus the link, since Slack uses it for notifications and fallback.';
14917
14988
 
14918
14989
  // ../shared/src/default-skills/replicas-agent/abilities/slack.ts
14919
- var SECTION16 = `### Slack
14990
+ var SECTION17 = `### Slack
14920
14991
  Send messages, read threads, search conversations, and transfer files through the workspace-scoped TypeScript SDK.
14921
14992
 
14922
14993
  **Reference:** \`references/SLACK.md\`
@@ -14926,7 +14997,7 @@ Use this when:
14926
14997
  - You need to read or search Slack conversations
14927
14998
  - You need to download a file attached to a Slack message
14928
14999
  - You encounter a Slack message link and need its full thread`;
14929
- var REFERENCE16 = `# Slack Integration
15000
+ var REFERENCE17 = `# Slack Integration
14930
15001
 
14931
15002
  Use \`@replicas/sdk\`; never read or send a Slack token directly. The SDK calls Replicas, which selects only this workspace's organization connection.
14932
15003
 
@@ -15005,8 +15076,8 @@ var SLACK_ABILITY = {
15005
15076
  label: "Slack",
15006
15077
  description: "Send messages, read threads, search, and transfer files through @replicas/sdk.",
15007
15078
  bullet: "- Interacting with Slack (listing channels, sending messages, reading threads, or searching): use replicas.slack.call from @replicas/sdk. Read references/SLACK.md; no Slack MCP server or provider token in the VM is required.",
15008
- section: SECTION16,
15009
- referenceFile: { name: "SLACK.md", content: REFERENCE16 }
15079
+ section: SECTION17,
15080
+ referenceFile: { name: "SLACK.md", content: REFERENCE17 }
15010
15081
  };
15011
15082
 
15012
15083
  // ../shared/src/visuals.ts
@@ -15106,7 +15177,7 @@ var BOOTSTRAP_SCRIPT = `
15106
15177
  `.trim().replace(/\s*\n\s*/g, " ");
15107
15178
 
15108
15179
  // ../shared/src/default-skills/replicas-agent/abilities/visuals.ts
15109
- var SECTION17 = `### Visuals
15180
+ var SECTION18 = `### Visuals
15110
15181
  Show a chart, diagram, comparison, timeline, or mockup inline in your Replicas chat reply, in the chat's own font and colors.
15111
15182
 
15112
15183
  **Reference:** \`references/VISUALS.md\`
@@ -15114,7 +15185,7 @@ Show a chart, diagram, comparison, timeline, or mockup inline in your Replicas c
15114
15185
  Use this when:
15115
15186
  - Seeing it would explain faster than reading it: numbers over time, a flow or architecture, a before and after, options side by side
15116
15187
  - The user asks to see, chart, plot, compare, or visualize something`;
15117
- var REFERENCE17 = `# Visuals
15188
+ var REFERENCE18 = `# Visuals
15118
15189
 
15119
15190
  A visual is a self-contained HTML page shown inline in your Replicas chat reply. It sits on the chat background in the chat's font and colors, grows to fit its content, and follows the user's light or dark theme live.
15120
15191
 
@@ -15152,8 +15223,8 @@ var VISUALS_ABILITY = {
15152
15223
  description: "Show charts, diagrams, comparisons, and mockups inline in chat replies.",
15153
15224
  // The visuals_instructions system prompt block is its trigger.
15154
15225
  bullet: "",
15155
- section: SECTION17,
15156
- referenceFile: { name: "VISUALS.md", content: REFERENCE17 }
15226
+ section: SECTION18,
15227
+ referenceFile: { name: "VISUALS.md", content: REFERENCE18 }
15157
15228
  };
15158
15229
 
15159
15230
  // ../shared/src/default-skills/replicas-agent/registry.ts
@@ -15166,6 +15237,7 @@ var REPLICAS_AGENT_ABILITY_REGISTRY = {
15166
15237
  github: GITHUB_ABILITY,
15167
15238
  gitlab: GITLAB_ABILITY,
15168
15239
  gpu: GPU_ABILITY,
15240
+ issues: ISSUES_ABILITY,
15169
15241
  linear: LINEAR_ABILITY,
15170
15242
  local_computer: LOCAL_COMPUTER_ABILITY,
15171
15243
  macos: MACOS_ABILITY,
@@ -15248,6 +15320,8 @@ var DEFAULT_USER_PREFERENCES = {
15248
15320
  chat_text_size: "default",
15249
15321
  app_font: "inter",
15250
15322
  code_font: "geist-mono",
15323
+ code_text_size: "default",
15324
+ code_wrap: false,
15251
15325
  wallpaper: null
15252
15326
  };
15253
15327
  function defaultReplicasAgentAbilities() {
@@ -21193,7 +21267,7 @@ async function withRetry(label, fn, options) {
21193
21267
  }
21194
21268
 
21195
21269
  // ../shared/src/tensorlake.ts
21196
- var TENSORLAKE_IMAGE_NAME = "replicas-sandbox-2026-11-20-v12";
21270
+ var TENSORLAKE_IMAGE_NAME = "replicas-sandbox-2026-11-20-v16";
21197
21271
  var TENSORLAKE_DISK_MB = 100 * 1024;
21198
21272
 
21199
21273
  // ../shared/src/egress.ts
@@ -23377,10 +23451,25 @@ var listIssuesQuerySchema = z43.object({
23377
23451
  limit: z43.coerce.number().int().min(1).max(200).optional(),
23378
23452
  cursor: z43.coerce.number().int().min(0).max(2147483647).optional()
23379
23453
  });
23454
+ var issueDetailResponseSchema = z43.object({
23455
+ issue: issueSchema2,
23456
+ subscribers: z43.array(issueSubscriberSchema),
23457
+ relations: z43.array(issueRelationSchema),
23458
+ pull_requests: z43.array(issuePullRequestSchema),
23459
+ comments: z43.array(issueCommentSchema),
23460
+ events: z43.array(issueEventSchema),
23461
+ sub_issues: z43.array(issueSchema2)
23462
+ });
23463
+ var listIssuesResponseSchema = z43.object({ issues: z43.array(issueSchema2), next_cursor: z43.number().nullable() });
23380
23464
  var issuesDeltaQuerySchema = z43.object({
23381
23465
  after: z43.coerce.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
23382
23466
  limit: z43.coerce.number().int().min(1).max(1e3).optional()
23383
23467
  });
23468
+ var issueInboxQuerySchema = z43.object({
23469
+ limit: z43.coerce.number().int().min(1).max(100).optional(),
23470
+ before: z43.coerce.number().int().min(1).optional()
23471
+ });
23472
+ var markIssueInboxReadRequestSchema = z43.object({ sync_id: z43.number().int().min(0).optional() });
23384
23473
 
23385
23474
  // ../shared/src/routes/repo-files.ts
23386
23475
  var MAX_REPO_FILE_CONTENT_BYTES = 256 * 1024;
@@ -5,7 +5,7 @@ import {
5
5
  extractCommandProtectionCommandText,
6
6
  isRecord,
7
7
  parseCodeHostPrUrl
8
- } from "./chunk-M2KVTSZT.js";
8
+ } from "./chunk-A75PZTYH.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  SUBPROCESS_MAX_BUFFER,
6
6
  execFileAsync
7
- } from "./chunk-KJOMLSWD.js";
7
+ } from "./chunk-TPQPZ5RB.js";
8
8
  import {
9
9
  isRecord as isRecord2
10
10
  } from "./chunk-UZSNFLDQ.js";
@@ -21,7 +21,7 @@ import {
21
21
  provisionedDeviceSchema,
22
22
  readReplicasRuntimeEnv,
23
23
  serializePosixEnvFile
24
- } from "./chunk-M2KVTSZT.js";
24
+ } from "./chunk-A75PZTYH.js";
25
25
 
26
26
  // src/runtime-env-loader.ts
27
27
  import { readFileSync } from "fs";
@@ -12,15 +12,15 @@ import {
12
12
  resolveDiffBase,
13
13
  runGitCommand,
14
14
  setAgentCredentialSnapshot
15
- } from "./chunk-JJWUCU5M.js";
15
+ } from "./chunk-ITVVSNFO.js";
16
16
  import {
17
17
  AppServerProcess,
18
18
  buildCodexAgentEnv
19
- } from "./chunk-JQ2FVHUS.js";
19
+ } from "./chunk-YDW4J5Q7.js";
20
20
  import {
21
21
  SUBPROCESS_MAX_BUFFER,
22
22
  execFileAsync
23
- } from "./chunk-KJOMLSWD.js";
23
+ } from "./chunk-TPQPZ5RB.js";
24
24
  import {
25
25
  isRecord
26
26
  } from "./chunk-UZSNFLDQ.js";
@@ -61,7 +61,7 @@ import {
61
61
  shrunkImageSize,
62
62
  splitManagerInstructions,
63
63
  withTimeout
64
- } from "./chunk-M2KVTSZT.js";
64
+ } from "./chunk-A75PZTYH.js";
65
65
 
66
66
  // src/managers/codex-token-manager.ts
67
67
  import { promises as fs } from "fs";
@@ -461,7 +461,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
461
461
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
462
462
  await this.applyCredentialsResponse(data);
463
463
  setAgentCredentialSnapshot("codex", data);
464
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-3ONHINJY.js");
464
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-BPRG7VOK.js");
465
465
  await restartCodexAspHostIfRunning2();
466
466
  });
467
467
  await this.start(true);
@@ -483,7 +483,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
483
483
  const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
484
484
  await this.applyCredentialsResponse(data);
485
485
  if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
486
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-3ONHINJY.js");
486
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-BPRG7VOK.js");
487
487
  await restartCodexAspHostIfRunning2();
488
488
  }
489
489
  setAgentCredentialSnapshot("codex", data);
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  AspClient
6
- } from "./chunk-JQ2FVHUS.js";
6
+ } from "./chunk-YDW4J5Q7.js";
7
7
  import {
8
8
  ASTER_BASE_URL,
9
9
  ASTER_PROVIDER,
@@ -15,7 +15,7 @@ import {
15
15
  isRecord,
16
16
  readOllamaAuthEnv,
17
17
  readOpenAICompatibleAuthEnv
18
- } from "./chunk-M2KVTSZT.js";
18
+ } from "./chunk-A75PZTYH.js";
19
19
 
20
20
  // src/managers/codex-asp/notification-dispatch.ts
21
21
  var TURN_STARTED_METHOD = "turn/started";
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  HOOK_EXEC_MAX_BUFFER_BYTES
6
- } from "./chunk-M2KVTSZT.js";
6
+ } from "./chunk-A75PZTYH.js";
7
7
 
8
8
  // src/utils/exec.ts
9
9
  import { exec, execFile } from "child_process";
@@ -5,7 +5,7 @@ import {
5
5
  ENGINE_ENV,
6
6
  monolithRequest,
7
7
  runGitCommand
8
- } from "./chunk-JJWUCU5M.js";
8
+ } from "./chunk-ITVVSNFO.js";
9
9
  import {
10
10
  COMMAND_PROTECTION_MAX_MESSAGE_FILE_BYTES,
11
11
  COMMAND_PROTECTION_REPO_GIT_ARGS,
@@ -18,7 +18,7 @@ import {
18
18
  parseCommandProtectionRequest,
19
19
  toCommandProtectionRepoState,
20
20
  withRetry
21
- } from "./chunk-M2KVTSZT.js";
21
+ } from "./chunk-A75PZTYH.js";
22
22
 
23
23
  // src/services/command-protection-service.ts
24
24
  import { readFile, stat } from "fs/promises";
@@ -3,10 +3,10 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  execFileAsync
6
- } from "./chunk-KJOMLSWD.js";
6
+ } from "./chunk-TPQPZ5RB.js";
7
7
  import {
8
8
  isVersionBelow
9
- } from "./chunk-M2KVTSZT.js";
9
+ } from "./chunk-A75PZTYH.js";
10
10
 
11
11
  // src/utils/codex-agent-env.ts
12
12
  function buildCodexAgentEnv(source = process.env) {
@@ -240,7 +240,7 @@ function getCodexModelProvider(method) {
240
240
  if (method === "foundry") return "azure";
241
241
  return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
242
242
  }
243
- var ENGINE_PACKAGE_VERSION = "0.1.1665";
243
+ var ENGINE_PACKAGE_VERSION = "0.1.1668";
244
244
  var INITIALIZE_METHOD = "initialize";
245
245
  var INITIALIZED_NOTIFICATION = "initialized";
246
246
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  evaluateCommandProtection
6
- } from "./chunk-R4Z4ZR4N.js";
7
- import "./chunk-JJWUCU5M.js";
8
- import "./chunk-KJOMLSWD.js";
6
+ } from "./chunk-U3OVQGXD.js";
7
+ import "./chunk-ITVVSNFO.js";
8
+ import "./chunk-TPQPZ5RB.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-UZSNFLDQ.js";
12
- import "./chunk-M2KVTSZT.js";
12
+ import "./chunk-A75PZTYH.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
 
15
15
  // src/command-protection-hook.ts
@@ -14,12 +14,12 @@ import {
14
14
  recoverCompletedTurn,
15
15
  spawnMuseMsp,
16
16
  startMuseSession
17
- } from "./chunk-AZFJHXH6.js";
17
+ } from "./chunk-PVYN6HZL.js";
18
18
  import {
19
19
  AppServerProcess,
20
20
  buildCodexAgentEnv
21
- } from "./chunk-JQ2FVHUS.js";
22
- import "./chunk-KJOMLSWD.js";
21
+ } from "./chunk-YDW4J5Q7.js";
22
+ import "./chunk-TPQPZ5RB.js";
23
23
  import {
24
24
  AGENT,
25
25
  OPENCODE_GO_PROVIDER,
@@ -29,7 +29,7 @@ import {
29
29
  headlessAgentUsagePath,
30
30
  isRecord,
31
31
  withTimeout
32
- } from "./chunk-M2KVTSZT.js";
32
+ } from "./chunk-A75PZTYH.js";
33
33
  import "./chunk-VEQXQN22.js";
34
34
 
35
35
  // src/headless-agent.ts
package/dist/src/index.js CHANGED
@@ -91,7 +91,7 @@ import {
91
91
  evaluateCommandProtection,
92
92
  extractToolCommand,
93
93
  reportCommandProtectionBlock
94
- } from "./chunk-R4Z4ZR4N.js";
94
+ } from "./chunk-U3OVQGXD.js";
95
95
  import {
96
96
  ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
97
97
  AGENT_MESSAGE_DELTA_METHOD,
@@ -129,10 +129,10 @@ import {
129
129
  spawnMuseMsp,
130
130
  startMuseSession,
131
131
  uuidV7
132
- } from "./chunk-AZFJHXH6.js";
132
+ } from "./chunk-PVYN6HZL.js";
133
133
  import {
134
134
  publishedPullRequestUrls
135
- } from "./chunk-KZKJCZ76.js";
135
+ } from "./chunk-G5GMFRVW.js";
136
136
  import {
137
137
  ACCOUNT_RATE_LIMITS_READ_METHOD,
138
138
  AsyncLock,
@@ -212,7 +212,7 @@ import {
212
212
  transcriptSecrets,
213
213
  upsertCredentialFileLines,
214
214
  writeSecureCredentialFile
215
- } from "./chunk-BWFKLJHJ.js";
215
+ } from "./chunk-KZSL7XN6.js";
216
216
  import {
217
217
  ENGINE_ENV,
218
218
  UNQUOTED_PATHS_CONFIG,
@@ -223,16 +223,16 @@ import {
223
223
  resolveDiffBase,
224
224
  setAgentCredentialSnapshot,
225
225
  setLinearSessionId
226
- } from "./chunk-JJWUCU5M.js";
226
+ } from "./chunk-ITVVSNFO.js";
227
227
  import {
228
228
  buildCodexAgentEnv,
229
229
  getCodexModelProvider
230
- } from "./chunk-JQ2FVHUS.js";
230
+ } from "./chunk-YDW4J5Q7.js";
231
231
  import {
232
232
  SUBPROCESS_MAX_BUFFER,
233
233
  execAsync,
234
234
  execFileAsync
235
- } from "./chunk-KJOMLSWD.js";
235
+ } from "./chunk-TPQPZ5RB.js";
236
236
  import {
237
237
  isRecord as isRecord2
238
238
  } from "./chunk-UZSNFLDQ.js";
@@ -532,7 +532,7 @@ import {
532
532
  workspaceTokenRequestSchema,
533
533
  workspaceTokenResponseSchema,
534
534
  wrapInTag
535
- } from "./chunk-M2KVTSZT.js";
535
+ } from "./chunk-A75PZTYH.js";
536
536
  import {
537
537
  __commonJS,
538
538
  __export,
@@ -15517,17 +15517,18 @@ var CodexAspManager = class extends CodingAgentManager {
15517
15517
  await this.executeGoalClearCommand(request, recordUserMessage);
15518
15518
  return;
15519
15519
  }
15520
- if (goalCommand?.type === "pause" || goalCommand?.type === "resume") {
15521
- await this.executeGoalStatusCommand(
15522
- request,
15523
- recordUserMessage,
15524
- goalCommand.type === "pause" ? "paused" : "active"
15525
- );
15520
+ if (goalCommand?.type === "pause") {
15521
+ await this.executeGoalPauseCommand(request, recordUserMessage);
15526
15522
  return;
15527
15523
  }
15528
- if (goalCommand?.type === "set") {
15524
+ if (goalCommand?.type === "resume" && this.currentGoal?.status === "complete") {
15525
+ recordUserMessage({ command: "goal" });
15526
+ this.recordHistoryEvent("codex-asp-error", { message: "This goal is already complete. Set a new one with `/goal <objective>`." });
15527
+ return;
15528
+ }
15529
+ if (goalCommand?.type === "set" || goalCommand?.type === "resume") {
15529
15530
  await this.executeAspTurn(request, recordUserMessage, signal, {
15530
- runTurn: (host, threadId) => this.runGoalTurn(host, threadId, request, goalCommand.objective, signal),
15531
+ runTurn: (host, threadId) => this.runGoalTurn(host, threadId, request, goalCommand.type === "set" ? goalCommand.objective : void 0, signal),
15531
15532
  userMessagePayload: { command: "goal" }
15532
15533
  });
15533
15534
  return;
@@ -15649,11 +15650,11 @@ var CodexAspManager = class extends CodingAgentManager {
15649
15650
  );
15650
15651
  this.recordGoalChange(null, true);
15651
15652
  }
15652
- async executeGoalStatusCommand(request, recordUserMessage, status) {
15653
+ async executeGoalPauseCommand(request, recordUserMessage) {
15653
15654
  const { host, threadId } = await this.prepareGoalCommand(request, recordUserMessage);
15654
15655
  const response = await host.client.request(
15655
15656
  THREAD_GOAL_SET_METHOD,
15656
- { threadId, status }
15657
+ { threadId, status: "paused" }
15657
15658
  );
15658
15659
  this.recordGoalChange(response.goal, true);
15659
15660
  }
@@ -15876,7 +15877,7 @@ ${text.slice(-24e3)}`
15876
15877
  }
15877
15878
  const response = await host.client.request(
15878
15879
  THREAD_GOAL_SET_METHOD,
15879
- { threadId, objective, status: "active" }
15880
+ { threadId, ...objective !== void 0 ? { objective } : {}, status: "active" }
15880
15881
  );
15881
15882
  this.recordGoalChange(response.goal, true);
15882
15883
  return { turn: null, tempImagePaths: [] };
@@ -62029,7 +62030,7 @@ var ChatService = class {
62029
62030
  ...request,
62030
62031
  message: await this.createForkHandoffMessage(chatId, { source: fork.source, trigger: fork.trigger, message: request.message, ...models })
62031
62032
  };
62032
- } else if (fork && chat.persisted.pullRequestNotesPath && this.getChat(fork.source.chatId)) {
62033
+ } else if (fork && !command && chat.persisted.pullRequestNotesPath && this.getChat(fork.source.chatId)) {
62033
62034
  request = { ...request, message: await this.followForkSource(chat, fork, request.message) };
62034
62035
  }
62035
62036
  if (request.images?.some((image) => image.source.type === "url")) {
@@ -62048,7 +62049,7 @@ ${note}` : `${request.message.slice(0, at)}
62048
62049
 
62049
62050
  ${note}${request.message.slice(at)}` };
62050
62051
  }
62051
- if (chat.persisted.pullRequestNotesPath) {
62052
+ if (chat.persisted.pullRequestNotesPath && !command) {
62052
62053
  const decisions = await readPullRequestDecisions(chat.persisted.pullRequestNotesPath);
62053
62054
  if (decisions) request = { ...request, message: `${request.message}
62054
62055
 
@@ -62289,6 +62290,13 @@ ${decisions}` };
62289
62290
  }
62290
62291
  async updateGoal(chatId, request) {
62291
62292
  const chat = this.requireChat(chatId);
62293
+ if (request.status === "active" && chat.provider.updateGoal) {
62294
+ const continuation = getChatContinuation(this.listChats(), chatId);
62295
+ if (continuation) return this.updateGoal(continuation.id, request);
62296
+ if (request.objective !== void 0) await chat.provider.updateGoal({ objective: request.objective });
62297
+ await this.sendMessage(chatId, { message: "/goal resume" });
62298
+ return { goal: chat.provider.getGoal?.() ?? null };
62299
+ }
62292
62300
  const goal = chat.provider.updateGoal ? await chat.provider.updateGoal(request) : null;
62293
62301
  this.touch(chat);
62294
62302
  await this.publish({
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  publishedPullRequestUrls
6
- } from "./chunk-KZKJCZ76.js";
6
+ } from "./chunk-G5GMFRVW.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
10
  import {
11
11
  shouldRefreshPullRequests
12
- } from "./chunk-M2KVTSZT.js";
12
+ } from "./chunk-A75PZTYH.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
 
15
15
  // src/services/post-tool-pr-notifier.ts
@@ -11,7 +11,7 @@ import {
11
11
  spawnSubagentRequestSchema,
12
12
  subagentResponseSchema,
13
13
  waitSubagentRequestSchema
14
- } from "./chunk-M2KVTSZT.js";
14
+ } from "./chunk-A75PZTYH.js";
15
15
  import "./chunk-VEQXQN22.js";
16
16
 
17
17
  // src/subagent-mcp.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.1665",
3
+ "version": "0.1.1668",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",