keystone-cli 1.1.0 → 1.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keystone-cli",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "A local-first, declarative, agentic workflow orchestrator built on Bun",
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,10 +12,12 @@ outputs:
12
12
  steps:
13
13
  - id: create_message
14
14
  type: shell
15
+ allowInsecure: true
15
16
  run: echo "${{ escape(inputs.greeting) }}, ${{ escape(inputs.name) }}!"
16
17
  transform: "stdout.trim()"
17
18
 
18
19
  - id: print_message
19
20
  type: shell
20
21
  needs: [create_message]
22
+ allowInsecure: true
21
23
  run: echo "Generated message - ${{ escape(steps.create_message.output) }}"
@@ -7,27 +7,27 @@ steps:
7
7
  type: shell
8
8
  allowInsecure: true
9
9
  run: |
10
- mkdir -p ./output
11
- echo "Hello from step 1" > ./output/file1.txt
12
- echo "Hello from step 1 (second file)" > ./output/file2.txt
10
+ mkdir -p src/templates/features/test-output
11
+ echo "Hello from step 1" > src/templates/features/test-output/file1.txt
12
+ echo "Hello from step 1 (second file)" > src/templates/features/test-output/file2.txt
13
13
 
14
14
  - id: upload_files
15
15
  type: artifact
16
16
  op: upload
17
17
  name: build-outputs
18
- paths: ["./output/*.txt"]
18
+ paths: ["test-output/*.txt"]
19
19
  needs: [create_content]
20
20
 
21
21
  - id: clean_local
22
22
  type: shell
23
23
  needs: [upload_files]
24
- run: rm -rf ./output
24
+ run: rm -rf src/templates/features/test-output
25
25
 
26
26
  - id: download_files
27
27
  type: artifact
28
28
  op: download
29
29
  name: build-outputs
30
- path: ./downloaded
30
+ path: src/templates/features/downloaded
31
31
  needs: [clean_local]
32
32
 
33
33
  - id: verify
@@ -35,5 +35,6 @@ steps:
35
35
  needs: [download_files]
36
36
  allowInsecure: true
37
37
  run: |
38
- ls -R ./downloaded
39
- cat ./downloaded/file1.txt
38
+ ls -R src/templates/features/downloaded
39
+ cat src/templates/features/downloaded/file1.txt
40
+ rm -rf src/templates/features/downloaded
@@ -5,6 +5,7 @@ description: "Demonstrate sandboxed JavaScript execution"
5
5
  steps:
6
6
  - id: generate_data
7
7
  type: shell
8
+ allowInsecure: true
8
9
  run: echo '{"values":[1,2,3,4,5]}'
9
10
 
10
11
  - id: process_data
@@ -11,4 +11,4 @@ outputs:
11
11
  steps:
12
12
  - id: echo_step
13
13
  type: shell
14
- run: echo "Processing ${{ inputs.name }}"
14
+ run: echo "Processing ${{ escape(inputs.name) }}"
@@ -5,11 +5,14 @@ description: "A parent workflow that calls a child workflow"
5
5
  steps:
6
6
  - id: run_child
7
7
  type: workflow
8
- path: "workflows/composition-child.yaml"
8
+ path: "./composition-child.yaml"
9
9
  inputs:
10
10
  name: "Keystone User"
11
+ outputMapping:
12
+ result: result
11
13
 
12
14
  - id: print_result
13
15
  type: shell
14
16
  needs: [run_child]
15
- run: echo "Child workflow result - ${{ steps.run_child.outputs.result }}"
17
+ allowInsecure: true
18
+ run: echo "Child workflow result - ${{ escape(steps.run_child.outputs.result) }}"