@ai-setting/roy-task-plugin 0.7.15 → 0.7.16

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/cli.js CHANGED
@@ -42,7 +42,8 @@ function toCoreTaskShape(task) {
42
42
  ...pick("project_path") !== undefined ? { project_path: pick("project_path") } : {},
43
43
  ...typeof parentTop === "number" ? { parent_task_id: parentTop } : typeof roy.parent_task_id === "number" ? { parent_task_id: roy.parent_task_id } : { parent_task_id: null },
44
44
  ...pick("current_status") !== undefined ? { current_status: pick("current_status") } : {},
45
- ...pick("context") !== undefined ? { context: pick("context") } : {}
45
+ ...pick("context") !== undefined ? { context: pick("context") } : {},
46
+ ...task.session_id ? { session_id: task.session_id } : {}
46
47
  };
47
48
  }
48
49
  async function resolveByNum(store, num) {
@@ -3764,7 +3765,7 @@ function formatStatus(report) {
3764
3765
  }
3765
3766
 
3766
3767
  // ../../../packages/cli/src/main.ts
3767
- var VERSION = "0.7.15";
3768
+ var VERSION = "0.7.16";
3768
3769
  async function main(argv) {
3769
3770
  const parsed = parseArgs(argv);
3770
3771
  switch (parsed.command) {
package/dist/index.js CHANGED
@@ -3153,4 +3153,4 @@ lifecycle as native tools.
3153
3153
  `;H.update("build",(F)=>{if(typeof F.system==="string"||F.system===void 0)F.system=V+O})}),z=await $.command.transform((H)=>{H.add({name:"task-create",description:"Create a tracked task in roy-task-plugin store. Persists to SQLite (~/.roy-task-plugin/tasks.db) or remote service. Args: <title> [body]",template:"task-create <title> [body]",execute:async(B)=>{let U=String(B?.prompt?.text??"").trim(),V=U.split(`
3154
3154
  `)[0]?.trim()||`task-${Date.now()}`;await Y.session({type:"session.created",payload:{id:B?.sessionID??`cmd-${Date.now()}`,title:V,body:U,source:"command:task-create"}})}}),H.add({name:"task-list",description:"List tracked tasks. Filters: [--status <s>] [--owner <o>]",template:"task-list [--status <status>] [--owner <owner>]",execute:async()=>{}}),H.add({name:"task-status",description:"Show full status of a single task. Args: <id>",template:"task-status <id>",execute:async()=>{}})});return{async dispose(){for(let H of G.disposers)try{await H()}catch{}await W.dispose(),await z.dispose(),await X.close()}}}},ww=LO;export{ww as default,Rw as createRoyTaskPlugin,L6 as createHandlers,O2 as RemoteTaskStore,M2 as LocalTaskStore};
3155
3155
 
3156
- //# debugId=841D1B9ED35066C064756E2164756E21
3156
+ //# debugId=A590F7713B1E47EE64756E2164756E21