@usecontextlayer/ctxe 0.5.6 → 0.5.7

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="507e416d-f409-5878-9327-a3aaeaedfd78")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7463ebb3-f56d-51c5-a74a-b15957e43865")}catch(e){}}();
4
4
  import { createRequire } from "node:module";
5
5
  import * as Sentry from "@sentry/node";
6
6
  import { mkdir, readFile, readdir, rename, rm, stat, writeFile } from "node:fs/promises";
@@ -59,7 +59,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
59
59
 
60
60
  //#endregion
61
61
  //#region package.json
62
- var version$2 = "0.5.6";
62
+ var version$2 = "0.5.7";
63
63
 
64
64
  //#endregion
65
65
  //#region sentry.ts
@@ -4147,12 +4147,32 @@ function superRefine$1(fn, params) {
4147
4147
  }
4148
4148
  `${JSON.stringify({ render: {
4149
4149
  elements: {
4150
+ ask: {
4151
+ children: ["askLabel"],
4152
+ on: { press: {
4153
+ action: "openChat",
4154
+ params: {
4155
+ autoSend: false,
4156
+ content: { $template: "What should I know about @output/${path}?" }
4157
+ }
4158
+ } },
4159
+ props: { className: null },
4160
+ type: "Pressable"
4161
+ },
4162
+ askLabel: {
4163
+ props: { text: "Ask about this doc" },
4164
+ type: "Text"
4165
+ },
4150
4166
  body: {
4151
4167
  props: { text: { $item: "body" } },
4152
4168
  type: "Text"
4153
4169
  },
4154
4170
  card: {
4155
- children: ["body"],
4171
+ children: [
4172
+ "body",
4173
+ "draft",
4174
+ "ask"
4175
+ ],
4156
4176
  props: { title: { $item: "title" } },
4157
4177
  type: "Card"
4158
4178
  },
@@ -4168,6 +4188,22 @@ function superRefine$1(fn, params) {
4168
4188
  statePath: "/items"
4169
4189
  },
4170
4190
  type: "Stack"
4191
+ },
4192
+ draft: {
4193
+ children: ["draftLabel"],
4194
+ on: { press: {
4195
+ action: "openChat",
4196
+ params: {
4197
+ autoSend: true,
4198
+ content: { $template: "Draft a reply to @output/${path}" }
4199
+ }
4200
+ } },
4201
+ props: { className: null },
4202
+ type: "Pressable"
4203
+ },
4204
+ draftLabel: {
4205
+ props: { text: "Draft reply" },
4206
+ type: "Text"
4171
4207
  }
4172
4208
  },
4173
4209
  root: "detail"
@@ -38934,4 +38970,4 @@ runCli().catch((error) => {
38934
38970
  //#endregion
38935
38971
  export { createProgram, resolveRepoContext, resolveRuntimePaths, runCli };
38936
38972
  //# sourceMappingURL=cli.mjs.map
38937
- //# debugId=507e416d-f409-5878-9327-a3aaeaedfd78
38973
+ //# debugId=7463ebb3-f56d-51c5-a74a-b15957e43865