chatroom-cli 1.65.12 → 1.65.13

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.js CHANGED
@@ -79782,9 +79782,30 @@ var init_register_agent = __esm(() => {
79782
79782
  init_services();
79783
79783
  init_convex_error();
79784
79784
  });
79785
+ // ../../services/backend/prompts/cli/context/context-template.ts
79786
+ function getContextViewTemplate() {
79787
+ return CONTEXT_VIEW_TEMPLATE;
79788
+ }
79789
+ var CONTEXT_VIEW_TEMPLATE = `## Goal
79790
+ - **User-centric:** _Describe what the user wants in plain language._
79791
+ - **Development-centric:** _Describe what we are building or changing._
79792
+
79793
+ ## Requirements
79794
+ - _One concrete outcome or requirement per bullet._
79795
+
79796
+ ## Structure
79797
+ - _Key files, folders, or architecture decisions (e.g. module boundaries, SSOT locations)._
79798
+
79799
+ ## Avoid
79800
+ - _Out-of-scope work or anti-patterns to skip._`;
79801
+
79802
+ // ../../services/backend/prompts/cli/context/view-template.ts
79803
+ var init_view_template = () => {};
79804
+
79785
79805
  // ../../services/backend/prompts/cli/context/new.ts
79786
79806
  var init_new = __esm(() => {
79787
79807
  init_stdin_heredoc();
79808
+ init_view_template();
79788
79809
  });
79789
79810
 
79790
79811
  // ../../services/backend/prompts/cli/task-started/main-prompt.ts
@@ -80908,7 +80929,7 @@ function viewHandoffTemplate(params) {
80908
80929
  }
80909
80930
  return template;
80910
80931
  }
80911
- var init_view_template = __esm(() => {
80932
+ var init_view_template2 = __esm(() => {
80912
80933
  init_handoff_templates3();
80913
80934
  });
80914
80935
 
@@ -80926,8 +80947,8 @@ function printHandoffViewTemplate(options) {
80926
80947
  });
80927
80948
  console.log(template);
80928
80949
  }
80929
- var init_view_template2 = __esm(() => {
80930
- init_view_template();
80950
+ var init_view_template3 = __esm(() => {
80951
+ init_view_template2();
80931
80952
  });
80932
80953
 
80933
80954
  // src/utils/serialization/decode/index.ts
@@ -83851,18 +83872,7 @@ async function listContexts(chatroomId, options, deps) {
83851
83872
  await exports_Effect.runPromise(listContextsEffect(chatroomId, options).pipe(exports_Effect.catchAll((err) => handleContextError(err)), exports_Effect.provide(layer)));
83852
83873
  }
83853
83874
  function viewTemplate() {
83854
- return `## Goal
83855
- <user-centric goal: what the user wants>
83856
- <development-centric goal: what we are building/changing>
83857
-
83858
- ## Requirements
83859
- - <outcome or requirement>
83860
-
83861
- ## Structure
83862
- - <concrete folder structure, architecture style (e.g. vertical slice + clean architecture), key shape decisions>
83863
-
83864
- ## Avoid
83865
- - <thing to not do / out of scope>`;
83875
+ return getContextViewTemplate();
83866
83876
  }
83867
83877
  async function inspectContext(chatroomId, options, deps) {
83868
83878
  const d = deps ?? await createDefaultDeps13();
@@ -111765,7 +111775,7 @@ program2.command("get-next-task").description("Join a chatroom and get the next
111765
111775
  });
111766
111776
  var handoffCommandGroup = program2.command("handoff").description("Complete your task and hand off to the next role");
111767
111777
  handoffCommandGroup.command("view-template").description("Print the handoff message template for a role pair").requiredOption("--role <role>", "Your role").requiredOption("--next-role <nextRole>", "Target role for the handoff").option("--team-id <teamId>", "Team id (solo, duo); defaults to duo").action(async (options) => {
111768
- const { printHandoffViewTemplate: printHandoffViewTemplate2 } = await Promise.resolve().then(() => (init_view_template2(), exports_view_template));
111778
+ const { printHandoffViewTemplate: printHandoffViewTemplate2 } = await Promise.resolve().then(() => (init_view_template3(), exports_view_template));
111769
111779
  try {
111770
111780
  printHandoffViewTemplate2(options);
111771
111781
  } catch (err) {
@@ -112082,4 +112092,4 @@ program2.hook("preAction", async (_thisCommand, actionCommand) => {
112082
112092
  });
112083
112093
  program2.parse();
112084
112094
 
112085
- //# debugId=7C02ECAE46A1934B64756E2164756E21
112095
+ //# debugId=7B7170D8323CA74F64756E2164756E21