Skip to content

Commit 0a7de0b

Browse files
committed
feat: update to photon-core 1.2.0 with ask/emit pattern
- Use AskYield and EmitYield types from photon-core - Implement switch-based handlers for all ask types - Add createOutputHandler for emit yields - Support text, password, confirm, select, number, date, file asks - Handle progress, status, log, toast, thinking, stream, artifact emits
1 parent 182db9c commit 0a7de0b

3 files changed

Lines changed: 223 additions & 88 deletions

File tree

‎package-lock.json‎

Lines changed: 51 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"@anthropic-ai/sdk": "^0.67.0",
9797
"@modelcontextprotocol/sdk": "^1.18.0",
9898
"@napi-rs/keyring": "^1.2.0",
99-
"@portel/photon-core": "^1.1.0",
99+
"@portel/photon-core": "^1.2.0",
100100
"@types/prompts": "^2.4.9",
101101
"@xenova/transformers": "^2.17.2",
102102
"adm-zip": "^0.5.16",
@@ -146,12 +146,14 @@
146146
"@upstash/context7-mcp": "^1.0.17",
147147
"@winor30/mcp-server-datadog": "^1.6.0",
148148
"cross-env": "^10.1.0",
149+
"csv-stringify": "^6.6.0",
149150
"jest": "^30.1.3",
150151
"mcp-evals": "^2.0.1",
151152
"mcp-hello-world": "^1.1.2",
152153
"mcp-server": "^0.0.9",
153154
"mcp-server-kubernetes": "^2.9.6",
154155
"release-it": "^19.0.4",
156+
"rss-parser": "^3.13.0",
155157
"ts-jest": "^29.4.2",
156158
"typescript": "^5.0.0"
157159
}

0 commit comments

Comments
 (0)