@alook/cli 0.0.88 → 0.0.90

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
@@ -18250,7 +18250,7 @@ class OpenCodeBackend {
18250
18250
  this.cliPath = cliPath;
18251
18251
  }
18252
18252
  execute(prompt, options) {
18253
- const args = ["run", "--format", "json"];
18253
+ const args = ["run", "--format", "json", "--dir", options.cwd];
18254
18254
  if (options.model) {
18255
18255
  args.push("--model", options.model);
18256
18256
  }
@@ -19234,6 +19234,18 @@ function buildPrompt(task, attachments) {
19234
19234
  if (task.type === "calendar_event") {
19235
19235
  obj.notice = CALENDAR_NOTICE;
19236
19236
  const ctx = task.context;
19237
+ if (ctx?.event_id != null) {
19238
+ obj.event_id = ctx.event_id;
19239
+ }
19240
+ if (ctx?.datetime != null) {
19241
+ obj.datetime = ctx.datetime;
19242
+ }
19243
+ if (ctx?.is_recurring !== undefined) {
19244
+ obj.is_recurring = ctx.is_recurring;
19245
+ }
19246
+ if (ctx?.repeat_interval !== undefined) {
19247
+ obj.repeat_interval = ctx.repeat_interval;
19248
+ }
19237
19249
  if (ctx?.description) {
19238
19250
  obj.description = ctx.description;
19239
19251
  }
@@ -17631,7 +17631,7 @@ class OpenCodeBackend {
17631
17631
  this.cliPath = cliPath;
17632
17632
  }
17633
17633
  execute(prompt, options) {
17634
- const args = ["run", "--format", "json"];
17634
+ const args = ["run", "--format", "json", "--dir", options.cwd];
17635
17635
  if (options.model) {
17636
17636
  args.push("--model", options.model);
17637
17637
  }
@@ -18620,6 +18620,18 @@ function buildPrompt(task, attachments) {
18620
18620
  if (task.type === "calendar_event") {
18621
18621
  obj.notice = CALENDAR_NOTICE;
18622
18622
  const ctx = task.context;
18623
+ if (ctx?.event_id != null) {
18624
+ obj.event_id = ctx.event_id;
18625
+ }
18626
+ if (ctx?.datetime != null) {
18627
+ obj.datetime = ctx.datetime;
18628
+ }
18629
+ if (ctx?.is_recurring !== undefined) {
18630
+ obj.is_recurring = ctx.is_recurring;
18631
+ }
18632
+ if (ctx?.repeat_interval !== undefined) {
18633
+ obj.repeat_interval = ctx.repeat_interval;
18634
+ }
18623
18635
  if (ctx?.description) {
18624
18636
  obj.description = ctx.description;
18625
18637
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alook/cli",
3
- "version": "0.0.88",
3
+ "version": "0.0.90",
4
4
  "description": "Alook CLI — Enable Your Person Colleague",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/alookai/alook#readme",