@kybernesis/create 0.26.2 → 0.26.3

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/templates.js CHANGED
@@ -306,7 +306,8 @@ export default multiplayerSlackChannel({
306
306
  return onExe
307
307
  ? {
308
308
  file: "linq.ts",
309
- content: `import { channelIdentity } from "@kybernesis/enterprise";
309
+ content: `import { progressEvents } from "@kybernesis/cards";
310
+ import { channelIdentity } from "@kybernesis/enterprise";
310
311
  import { linqEnvCredentials, linqSenderIdentity } from "@kybernesis/exe/linq";
311
312
  import { linqChannel } from "eve/channels/linq";
312
313
 
@@ -317,6 +318,10 @@ import { linqChannel } from "eve/channels/linq";
317
318
  //
318
319
  // A sender is a control-plane person, never a phone number: an unlinked number
319
320
  // gets one text with a claim link and nothing else.
321
+ //
322
+ // A text thread shows nothing between a request and its answer, so when the
323
+ // agent starts a long job it sends one "on it" line first (\`working_on_it\`,
324
+ // from @kybernesis/notify) and \`progressEvents\` posts it here as it happens.
320
325
  const issuer = process.env.KYBERNESIS_ISSUER ?? "https://agent.kybernesis.ai";
321
326
  const credential = process.env.KYBERNESIS_AGENT_CREDENTIAL;
322
327
  const agentName = process.env.KYBERNESIS_AGENT;
@@ -324,6 +329,7 @@ const agentName = process.env.KYBERNESIS_AGENT;
324
329
  export default linqChannel({
325
330
  credentials: linqEnvCredentials(),
326
331
  ...(agentName ? { userName: agentName } : {}),
332
+ events: progressEvents(),
327
333
  onMessage: linqSenderIdentity({
328
334
  issuer,
329
335
  agentName,
@@ -331,7 +337,7 @@ export default linqChannel({
331
337
  }),
332
338
  });
333
339
  `,
334
- deps: ["@kybernesis/exe", "@kybernesis/enterprise"],
340
+ deps: ["@kybernesis/exe", "@kybernesis/enterprise", "@kybernesis/cards"],
335
341
  registryItems: [],
336
342
  env: [],
337
343
  steps: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kybernesis/create",
3
- "version": "0.26.2",
3
+ "version": "0.26.3",
4
4
  "description": "The Kybernesis agent scaffolder and FDE toolkit: one command to a governed, remembering, multiplayer, self-testing eve agent \u2014 plus doctor and upgrade.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",