@arbidocs/blocks 0.4.17 → 0.4.18
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/agents/index.cjs +208 -208
- package/dist/agents/index.js +2 -2
- package/dist/{chunk-OMF7444S.js → chunk-F3F56LOR.js} +8 -4
- package/dist/chunk-F3F56LOR.js.map +1 -0
- package/dist/{chunk-IWOOGRNG.cjs → chunk-TP7JJAXZ.cjs} +8 -4
- package/dist/chunk-TP7JJAXZ.cjs.map +1 -0
- package/dist/index.cjs +218 -218
- package/dist/index.js +4 -4
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-IWOOGRNG.cjs.map +0 -1
- package/dist/chunk-OMF7444S.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var chunkJGZTRLKL_cjs = require('./chunk-JGZTRLKL.cjs');
|
|
5
4
|
var chunkZVPTFTGV_cjs = require('./chunk-ZVPTFTGV.cjs');
|
|
5
|
+
var chunkJGZTRLKL_cjs = require('./chunk-JGZTRLKL.cjs');
|
|
6
6
|
var chunkRFIBUWLF_cjs = require('./chunk-RFIBUWLF.cjs');
|
|
7
7
|
var chunk5B4PXAKI_cjs = require('./chunk-5B4PXAKI.cjs');
|
|
8
8
|
var chunkVFUWWH52_cjs = require('./chunk-VFUWWH52.cjs');
|
|
@@ -4876,6 +4876,8 @@ function workflowToComposerValues(workflow, workflows) {
|
|
|
4876
4876
|
}
|
|
4877
4877
|
return reminder ? { ...base, workflowId: workflows.reminderWorkflowId, inputs: { message: workflow.name } } : {
|
|
4878
4878
|
...base,
|
|
4879
|
+
// A name made from the instruction follows it when the instruction is edited.
|
|
4880
|
+
name: workflow.name === firstWords(workflow.prompt ?? "") ? "" : workflow.name,
|
|
4879
4881
|
workflowId: workflows.customWorkflowId,
|
|
4880
4882
|
inputs: { instruction: workflow.prompt }
|
|
4881
4883
|
};
|
|
@@ -5420,7 +5422,9 @@ function WorkflowsTable(props) {
|
|
|
5420
5422
|
renderName: (w) => {
|
|
5421
5423
|
const { l: lb } = latest.current;
|
|
5422
5424
|
const skill = isSkillRow(w);
|
|
5423
|
-
const
|
|
5425
|
+
const text = skill ? latest.current.actionText(w) : w.description || latest.current.actionText(w);
|
|
5426
|
+
const stem = w.name.replace(/…$/, "").trim();
|
|
5427
|
+
const about = text && text.trim() !== w.name.trim() && text.trim() !== stem ? text : "";
|
|
5424
5428
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 leading-tight", children: [
|
|
5425
5429
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
5426
5430
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -9246,5 +9250,5 @@ exports.workflowTriggerType = workflowTriggerType;
|
|
|
9246
9250
|
exports.workflowWhen = workflowWhen;
|
|
9247
9251
|
exports.workflowsAccepting = workflowsAccepting;
|
|
9248
9252
|
exports.workflowsForHost = workflowsForHost;
|
|
9249
|
-
//# sourceMappingURL=chunk-
|
|
9250
|
-
//# sourceMappingURL=chunk-
|
|
9253
|
+
//# sourceMappingURL=chunk-TP7JJAXZ.cjs.map
|
|
9254
|
+
//# sourceMappingURL=chunk-TP7JJAXZ.cjs.map
|