@alexkroman1/aai-cli 16.0.1 → 16.1.0
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/README.md +1 -1
- package/dist/{_build-target-55dJisQ-.mjs → _build-target-ClEEuUuW.mjs} +11 -2
- package/dist/_build-target.d.ts +28 -0
- package/dist/{_dev-server-BzWB6-4y.mjs → _dev-server-D1wKiA0_.mjs} +2 -2
- package/dist/_dev-vite-config.d.ts +1 -1
- package/dist/{_init-BzQbV8Zh.mjs → _init-Bp1CjRrU.mjs} +1 -1
- package/dist/{_server-common-De0haHr9.mjs → _server-common-DAcv1nC5.mjs} +46 -2
- package/dist/_server-common.d.ts +39 -0
- package/dist/{_vitest-runner-AVR9VtXh.mjs → _vitest-runner-BiAMIir1.mjs} +1 -1
- package/dist/_vitest-runner.d.ts +1 -1
- package/dist/{_workflow-determinism-CvpqMpdh.mjs → _workflow-determinism-CLxFQ5ox.mjs} +1 -1
- package/dist/_workflow-determinism.d.ts +1 -1
- package/dist/{build-ButI2IKc.mjs → build-O6BT51x_.mjs} +69 -6
- package/dist/build.d.ts +56 -0
- package/dist/cli.mjs +11 -11
- package/dist/{deploy-CGqPU5U-.mjs → deploy-lldQyJVj.mjs} +2 -2
- package/dist/{dev-kodAY23K.mjs → dev-Du8pCWFq.mjs} +1 -1
- package/dist/{eval-DvoSz7SZ.mjs → eval-Ducmkt1n.mjs} +2 -2
- package/dist/{init-D363Ls5u.mjs → init-CY4NAXAA.mjs} +2 -2
- package/dist/scaffold/CLAUDE.md +36 -36
- package/dist/scaffold/package.json +4 -4
- package/dist/start.mjs +1 -1
- package/dist/{studio-CtRBVVFR.mjs → studio-It7SRfUN.mjs} +1 -1
- package/dist/templates/{hiring-desk → applicant-screening-agent}/crews.ts +1 -1
- package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/screening_status.ts +1 -1
- package/dist/templates/{call-audit → call-audit-workflow}/agent.ts +2 -2
- package/dist/templates/{call-audit → call-audit-workflow}/client.tsx +3 -3
- package/dist/templates/{call-audit → call-audit-workflow}/guards.test.ts +2 -2
- package/dist/templates/{call-audit → call-audit-workflow}/workflows/summarize.ts +1 -1
- package/dist/templates/{code-interpreter → code-interpreter-agent}/agent.test.ts +1 -1
- package/dist/templates/{pipeline-simple → custom-pipeline-agent}/agent.test.ts +2 -2
- package/dist/templates/{pipeline-simple → custom-pipeline-agent}/agent.ts +1 -1
- package/dist/templates/{pipeline-simple → custom-pipeline-agent}/modes.test.ts +1 -1
- package/dist/templates/{redline → document-redline-workflow}/agent.ts +2 -2
- package/dist/templates/{redline → document-redline-workflow}/client.tsx +1 -1
- package/dist/templates/{redline → document-redline-workflow}/workflows/redline.ts +1 -1
- package/dist/templates/{dispatch-center → emergency-dispatch-agent}/agent.test.ts +1 -1
- package/dist/templates/{dispatch-center → emergency-dispatch-agent}/events.ts +1 -1
- package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/incident_create.ts +1 -1
- package/dist/templates/{night-owl → entertainment-picks-agent}/agent.test.ts +1 -1
- package/dist/templates/{night-owl → entertainment-picks-agent}/client.tsx +1 -1
- package/dist/templates/{executive-assistant → executive-inbox-agent}/meeting.ts +1 -1
- package/dist/templates/{executive-assistant → executive-inbox-agent}/shared.ts +2 -2
- package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/send_calendar_invite.ts +1 -1
- package/dist/templates/{hotel-desk → hotel-reception-agent}/concierge.ts +1 -1
- package/dist/templates/{hotel-desk → hotel-reception-agent}/shared.ts +1 -1
- package/dist/templates/{link-digest → link-digest-workflow}/agent.test.ts +2 -2
- package/dist/templates/{link-digest → link-digest-workflow}/agent.ts +3 -3
- package/dist/templates/{link-digest → link-digest-workflow}/client.tsx +2 -2
- package/dist/templates/{link-digest → link-digest-workflow}/workflows/digest.ts +1 -1
- package/dist/templates/{health-assistant → medication-safety-agent}/agent.test.ts +1 -1
- package/dist/templates/{recap-workflow → meeting-recap-agent}/agent.test.ts +2 -2
- package/dist/templates/{recap-workflow → meeting-recap-agent}/agent.ts +1 -1
- package/dist/templates/{recap-workflow → meeting-recap-agent}/workflows/recap.ts +3 -3
- package/dist/templates/{podcast-digest → podcast-digest-workflow}/agent.eval.test.ts +1 -1
- package/dist/templates/{podcast-digest → podcast-digest-workflow}/agent.test.ts +1 -1
- package/dist/templates/{podcast-digest → podcast-digest-workflow}/agent.ts +2 -2
- package/dist/templates/{podcast-digest → podcast-digest-workflow}/client.tsx +3 -3
- package/dist/templates/{podcast-digest → podcast-digest-workflow}/workflows/digest.ts +1 -1
- package/dist/templates/{simple → quickstart-agent}/agent.test.ts +3 -3
- package/dist/templates/{simple → quickstart-agent}/agent.ts +1 -1
- package/dist/templates/{research-workflow → research-handoff-agent}/agent.test.ts +1 -1
- package/dist/templates/{research-workflow → research-handoff-agent}/agent.ts +1 -1
- package/dist/templates/{research-workflow → research-handoff-agent}/workflows/filing.ts +1 -1
- package/dist/templates/{research-workflow → research-handoff-agent}/workflows/research.ts +1 -1
- package/dist/templates/{research-workflow → research-handoff-agent}/workflows/review.ts +1 -1
- package/dist/templates/{plan-and-execute → research-planner-agent}/shared.ts +1 -1
- package/dist/templates/{retail → retail-orders-agent}/pending.ts +2 -2
- package/dist/templates/{retail → retail-orders-agent}/shared.ts +1 -1
- package/dist/templates/{retail → retail-orders-agent}/store.ts +3 -3
- package/dist/templates/{roadside-assist → roadside-assistance-agent}/agent.ts +1 -1
- package/dist/templates/{roadside-assist → roadside-assistance-agent}/call.ts +1 -1
- package/dist/templates/{roadside-assist → roadside-assistance-agent}/shared.ts +3 -3
- package/dist/templates/{roadside-assist → roadside-assistance-agent}/tools/dispatch_truck.ts +1 -1
- package/dist/templates/{spoken-summary → spoken-summary-workflow}/agent.test.ts +1 -1
- package/dist/templates/{spoken-summary → spoken-summary-workflow}/agent.ts +1 -1
- package/dist/templates/{spoken-summary → spoken-summary-workflow}/client.tsx +1 -1
- package/dist/templates/{spoken-summary → spoken-summary-workflow}/workflows/summarize.ts +1 -1
- package/dist/templates/{solo-rpg → tabletop-rpg-agent}/shared.ts +3 -3
- package/dist/templates/{solo-rpg → tabletop-rpg-agent}/tools/check_state.ts +1 -1
- package/dist/templates/{infocom-adventure → text-adventure-agent}/client.tsx +2 -2
- package/dist/templates/{briefing-desk → topic-briefing-agent}/agent.eval.test.ts +3 -3
- package/dist/templates/{briefing-desk → topic-briefing-agent}/agent.ts +1 -1
- package/dist/templates/{briefing-desk → topic-briefing-agent}/shared.ts +1 -1
- package/dist/templates/{briefing-desk → topic-briefing-agent}/slack.ts +1 -1
- package/dist/templates/transcription-workflow/agent.test.ts +1 -1
- package/dist/templates/transcription-workflow/agent.ts +1 -1
- package/dist/templates/transcription-workflow/client.tsx +1 -1
- package/dist/templates/transcription-workflow/workflows/batch.ts +2 -2
- package/dist/templates/transcription-workflow/workflows/transcribe.ts +1 -1
- package/dist/templates/{travel-concierge → travel-concierge-agent}/shared.ts +1 -1
- package/dist/templates/{web-researcher → web-research-agent}/agent.eval.test.ts +1 -1
- package/dist/templates/{web-researcher → web-research-agent}/agent.test.ts +1 -1
- package/dist/templates/{web-researcher → web-research-agent}/agent.ts +1 -1
- package/dist/templates/{word-wrangler → word-game-agent}/game.ts +1 -1
- package/dist/templates/{word-wrangler → word-game-agent}/shared.ts +1 -1
- package/dist/{test-Cllnx81G.mjs → test-PHHv0Vj6.mjs} +1 -1
- package/package.json +4 -4
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/agent.test.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/agent.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/client.tsx +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/leads.json +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/screening-lock.test.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/screening-lock.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/shared.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/system-prompt.md +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/candidate_details.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/proceed_to_emails.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/read_email.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/rescore_with_feedback.ts +0 -0
- /package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/screen_candidates.ts +0 -0
- /package/dist/templates/{call-audit → call-audit-workflow}/agent.eval.test.ts +0 -0
- /package/dist/templates/{call-audit → call-audit-workflow}/agent.test.ts +0 -0
- /package/dist/templates/{call-audit → call-audit-workflow}/workflows/audit.ts +0 -0
- /package/dist/templates/{call-audit → call-audit-workflow}/workflows/ingest.ts +0 -0
- /package/dist/templates/{call-audit → call-audit-workflow}/workflows/media.ts +0 -0
- /package/dist/templates/{call-audit → call-audit-workflow}/workflows/sync-api.ts +0 -0
- /package/dist/templates/{code-interpreter → code-interpreter-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{code-interpreter → code-interpreter-agent}/agent.ts +0 -0
- /package/dist/templates/{code-interpreter → code-interpreter-agent}/system-prompt.md +0 -0
- /package/dist/templates/{pipeline-simple → custom-pipeline-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{pipeline-simple → custom-pipeline-agent}/stages.test.ts +0 -0
- /package/dist/templates/{redline → document-redline-workflow}/agent.eval.test.ts +0 -0
- /package/dist/templates/{redline → document-redline-workflow}/agent.test.ts +0 -0
- /package/dist/templates/{redline → document-redline-workflow}/form.ts +0 -0
- /package/dist/templates/{redline → document-redline-workflow}/workflows/prompts.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/agent.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/client.tsx +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/shared.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/system-prompt.md +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/incident_add_note.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/incident_escalate.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/incident_get.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/incident_triage.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/incident_update_status.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/ops_dashboard.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/ops_protocols.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/ops_run_scenario.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/resources_dispatch.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/resources_get_available.ts +0 -0
- /package/dist/templates/{dispatch-center → emergency-dispatch-agent}/tools/resources_update_status.ts +0 -0
- /package/dist/templates/{night-owl → entertainment-picks-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{night-owl → entertainment-picks-agent}/agent.ts +0 -0
- /package/dist/templates/{night-owl → entertainment-picks-agent}/shared.ts +0 -0
- /package/dist/templates/{night-owl → entertainment-picks-agent}/system-prompt.md +0 -0
- /package/dist/templates/{night-owl → entertainment-picks-agent}/tools/recommend.ts +0 -0
- /package/dist/templates/{night-owl → entertainment-picks-agent}/tools/revisit.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/agent.test.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/agent.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/calendar.test.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/client.tsx +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/inbox.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/nodes.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/prompts.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/review.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/system-prompt.md +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/accept.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/ask_question.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/draft_reply.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/edit.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/ignore.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/inbox_status.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/meeting_assistant.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/new_email.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/open_email.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/respond.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/review_memory.ts +0 -0
- /package/dist/templates/{executive-assistant → executive-inbox-agent}/tools/triage_inbox.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/agent.test.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/agent.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/booking.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/card.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/catalogs.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/client.tsx +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/desk-seams.test.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/desk.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/disputes.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/events.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/hotel.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/policies.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/records.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/restaurant.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/seed.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/system-prompt.md +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/abandon_booking.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/add_to_waitlist.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/book_airport_car.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/book_business_center.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/book_spa_appointment.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/book_tour.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/cancel_restaurant_reservation.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/cancel_room_booking.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/check_restaurant_availability.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/check_room_availability.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/choose_room.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/confirm_booking.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/dispatch_emergency.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/dispute_charge.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/flag_late_arrival.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/lookup_booking.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/lookup_guest_history.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/lookup_invoice.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/lookup_policy.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/lookup_restaurant_reservation.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/modify_restaurant_reservation.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/order_flowers.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/record_card.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/record_followup.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/record_group_inquiry.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/record_guest_details.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/reinstate_booking.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/request_flight_reconfirmation.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/resend_confirmation.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/reserve_table.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/resolve_room_conflict.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/schedule_wakeup_call.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/set_do_not_disturb.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/set_extras.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/set_stay.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/start_booking_modification.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/start_room_booking.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/take_guest_message.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/transfer_call.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/update_card.ts +0 -0
- /package/dist/templates/{hotel-desk → hotel-reception-agent}/tools/verify_booking.ts +0 -0
- /package/dist/templates/{link-digest → link-digest-workflow}/agent.eval.test.ts +0 -0
- /package/dist/templates/{link-digest → link-digest-workflow}/api-client.ts +0 -0
- /package/dist/templates/{health-assistant → medication-safety-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{health-assistant → medication-safety-agent}/agent.ts +0 -0
- /package/dist/templates/{health-assistant → medication-safety-agent}/fda.test.ts +0 -0
- /package/dist/templates/{health-assistant → medication-safety-agent}/fda.ts +0 -0
- /package/dist/templates/{health-assistant → medication-safety-agent}/system-prompt.md +0 -0
- /package/dist/templates/{health-assistant → medication-safety-agent}/tools/check_drug_interaction.ts +0 -0
- /package/dist/templates/{health-assistant → medication-safety-agent}/tools/medication_lookup.ts +0 -0
- /package/dist/templates/{recap-workflow → meeting-recap-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{recap-workflow → meeting-recap-agent}/shared.ts +0 -0
- /package/dist/templates/{recap-workflow → meeting-recap-agent}/tools/cancel_recap.ts +0 -0
- /package/dist/templates/{recap-workflow → meeting-recap-agent}/tools/keep_transcript.ts +0 -0
- /package/dist/templates/{recap-workflow → meeting-recap-agent}/tools/recap_progress.ts +0 -0
- /package/dist/templates/{recap-workflow → meeting-recap-agent}/tools/recap_status.ts +0 -0
- /package/dist/templates/{recap-workflow → meeting-recap-agent}/tools/request_recap.ts +0 -0
- /package/dist/templates/{recap-workflow → meeting-recap-agent}/workflows/tokens.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/agent.test.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/agent.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/client.tsx +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/shared.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/system-prompt.md +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/tools/add_pizza.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/tools/place_order.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/tools/remove_pizza.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/tools/set_customer_name.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/tools/update_pizza.ts +0 -0
- /package/dist/templates/{pizza-ordering → pizza-ordering-agent}/tools/view_order.ts +0 -0
- /package/dist/templates/{podcast-digest → podcast-digest-workflow}/workflows/feeds.ts +0 -0
- /package/dist/templates/{podcast-digest → podcast-digest-workflow}/workflows/slack.ts +0 -0
- /package/dist/templates/{simple → quickstart-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{research-workflow → research-handoff-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{research-workflow → research-handoff-agent}/shared.ts +0 -0
- /package/dist/templates/{research-workflow → research-handoff-agent}/tools/file_it_now.ts +0 -0
- /package/dist/templates/{research-workflow → research-handoff-agent}/tools/request_research.ts +0 -0
- /package/dist/templates/{research-workflow → research-handoff-agent}/tools/research_progress.ts +0 -0
- /package/dist/templates/{research-workflow → research-handoff-agent}/tools/research_status.ts +0 -0
- /package/dist/templates/{research-workflow → research-handoff-agent}/workflows/notes.ts +0 -0
- /package/dist/templates/{research-workflow → research-handoff-agent}/workflows/prompts.ts +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/agent.test.ts +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/agent.ts +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/client.tsx +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/procedure.ts +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/prompts.ts +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/system-prompt.md +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/tools/plan_status.ts +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/tools/revise_plan.ts +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/tools/start_plan.ts +0 -0
- /package/dist/templates/{plan-and-execute → research-planner-agent}/tools/work_next_step.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/address.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/agent.test.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/agent.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/authenticate.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/cancel.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/client.tsx +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/payment.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/pending.test.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/refund.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/registry.test.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/resolve.test.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/resolve.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/returns.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/seed.json +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/seed.test.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/shared.test.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/store.test.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/swap.test.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/swap.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/system-prompt.md +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/cancel_change.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/cancel_pending_order.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/confirm_change.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/exchange_delivered_order_items.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/find_user_id_by_email.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/find_user_id_by_name_zip.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/get_item_details.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/get_order_details.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/get_product_details.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/get_user_details.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/list_all_product_types.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/modify_pending_order_address.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/modify_pending_order_items.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/modify_pending_order_payment.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/modify_user_address.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/return_delivered_order_items.ts +0 -0
- /package/dist/templates/{retail → retail-orders-agent}/tools/transfer_to_human_agents.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/agent.test.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/events.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/system-prompt.md +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/tools/acknowledge_disclosure.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/tools/job_status.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/tools/lookup_coverage.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/tools/report_location.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/tools/service_disclosure.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/yard.test.ts +0 -0
- /package/dist/templates/{roadside-assist → roadside-assistance-agent}/yard.ts +0 -0
- /package/dist/templates/{spoken-summary → spoken-summary-workflow}/agent.eval.test.ts +0 -0
- /package/dist/templates/{spoken-summary → spoken-summary-workflow}/workflows/transcribe.ts +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/agent.test.ts +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/agent.ts +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/client.tsx +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/system-prompt.md +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/tools/action_roll.ts +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/tools/burn_momentum.ts +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/tools/oracle.ts +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/tools/setup_character.ts +0 -0
- /package/dist/templates/{solo-rpg → tabletop-rpg-agent}/tools/update_state.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/agent.test.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/agent.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/client.tsx +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/knowledge.json +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/nodes.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/procedure.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/prompts.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/shared.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/system-prompt.md +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/tools/answer_question.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/tools/list_topics.ts +0 -0
- /package/dist/templates/{support-line → technical-support-agent}/tools/log_ticket.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/agent.test.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/agent.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/shared.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/system-prompt.md +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/tools/game_state_drop.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/tools/game_state_flag.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/tools/game_state_get.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/tools/game_state_move.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/tools/game_state_restart.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/tools/game_state_score.ts +0 -0
- /package/dist/templates/{infocom-adventure → text-adventure-agent}/tools/game_state_take.ts +0 -0
- /package/dist/templates/{briefing-desk → topic-briefing-agent}/agent.test.ts +0 -0
- /package/dist/templates/{briefing-desk → topic-briefing-agent}/system-prompt.md +0 -0
- /package/dist/templates/{briefing-desk → topic-briefing-agent}/tools/briefing_so_far.ts +0 -0
- /package/dist/templates/{briefing-desk → topic-briefing-agent}/tools/research_topic.ts +0 -0
- /package/dist/templates/{briefing-desk → topic-briefing-agent}/tools/send_briefing.ts +0 -0
- /package/dist/templates/{briefing-desk → topic-briefing-agent}/tools/verify_claim.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/agent.test.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/agent.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/call-events.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/client.tsx +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/routing.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/system-prompt.md +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/book_car_rental.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/book_excursion.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/book_hotel.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/cancel_action.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/cancel_ticket.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/complete_or_escalate.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/confirm_action.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/lookup_booking.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/search_car_rentals.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/search_excursions.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/search_flights.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/search_hotels.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/to_car_rental_assistant.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/to_excursion_assistant.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/to_flight_assistant.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/to_hotel_assistant.ts +0 -0
- /package/dist/templates/{travel-concierge → travel-concierge-agent}/tools/update_ticket.ts +0 -0
- /package/dist/templates/{web-researcher → web-research-agent}/system-prompt.md +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/agent.eval.test.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/agent.test.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/agent.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/client.tsx +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/guess.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/player.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/system-prompt.md +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/tools/final_score.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/tools/relay_description.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/tools/repeat_word.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/tools/skip_word.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/tools/start_game.ts +0 -0
- /package/dist/templates/{word-wrangler → word-game-agent}/words.ts +0 -0
|
@@ -1089,7 +1089,7 @@ describe("the run is DURABLE", () => {
|
|
|
1089
1089
|
* Every step's HTTP goes through the slot, the model call included, so a
|
|
1090
1090
|
* gateway stub over `globalThis.fetch` beside these routes would be bypassed.
|
|
1091
1091
|
* `stubGatewayRoute` is the composition for it — the same note
|
|
1092
|
-
* `link-digest/agent.test.ts` carries.
|
|
1092
|
+
* `link-digest-workflow/agent.test.ts` carries.
|
|
1093
1093
|
*
|
|
1094
1094
|
* `polls` is how many `GET /v2/transcript/:id` answers say "not yet" before
|
|
1095
1095
|
* the job is reported done, which is how a case decides whether the run has
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* voice pipeline. `client.tsx` starts a run over the workflow HTTP API and
|
|
8
8
|
* watches it, and `workflows/digest.ts` does the work.
|
|
9
9
|
*
|
|
10
|
-
* ## What makes this a different KIND of workflow app from `link-digest`
|
|
10
|
+
* ## What makes this a different KIND of workflow app from `link-digest-workflow`
|
|
11
11
|
*
|
|
12
|
-
* `link-digest` is the smallest one: one URL in, one digest out, run over. This
|
|
12
|
+
* `link-digest-workflow` is the smallest one: one URL in, one digest out, run over. This
|
|
13
13
|
* is the same front door around a run that **sleeps for days and wakes up
|
|
14
14
|
* again**. Three consequences worth reading before copying it:
|
|
15
15
|
*
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
* here with no edit to this file, and the defaults are stated once, in the
|
|
58
58
|
* schema, rather than here AND in the schema AND in the workflow body.
|
|
59
59
|
*
|
|
60
|
-
* `link-digest` is the page that writes its one control by hand, deliberately,
|
|
61
|
-
* so a reader can see what this layer stands on. `redline` is the MIXED case —
|
|
60
|
+
* `link-digest-workflow` is the page that writes its one control by hand, deliberately,
|
|
61
|
+
* so a reader can see what this layer stands on. `document-redline-workflow` is the MIXED case —
|
|
62
62
|
* declared scalars beside one hand-written array field.
|
|
63
63
|
*
|
|
64
|
-
* ## What a SCHEDULED run adds to `link-digest`'s page
|
|
64
|
+
* ## What a SCHEDULED run adds to `link-digest-workflow`'s page
|
|
65
65
|
*
|
|
66
66
|
* Two controls that only make sense when a run spends most of its life asleep,
|
|
67
67
|
* and both are the point of copying this file rather than that one:
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
*
|
|
39
39
|
* ## Batch polling, which is this file's one genuinely new mechanism
|
|
40
40
|
*
|
|
41
|
-
* `spoken-summary` and `transcription-workflow` each wait for ONE transcript,
|
|
41
|
+
* `spoken-summary-workflow` and `transcription-workflow` each wait for ONE transcript,
|
|
42
42
|
* so their poll loop is `for (…) { if (done) return; await ctx.sleep(…) }`. Here N
|
|
43
43
|
* episodes are in flight at once and they finish out of order, so the loop has
|
|
44
44
|
* to carry a shrinking pending set and let the finished ones drop out — see
|
|
@@ -17,7 +17,7 @@ import agentDef from "./agent.ts";
|
|
|
17
17
|
* mode needs is filled) are `expectDeployable`'s, which fails naming the one
|
|
18
18
|
* that went.
|
|
19
19
|
*/
|
|
20
|
-
describe("
|
|
20
|
+
describe("quickstart-agent template", () => {
|
|
21
21
|
test("is deployable: validates, is nameable, and every stage its mode needs is filled", () => {
|
|
22
22
|
// The template's point: with no provider fields declared, the default
|
|
23
23
|
// all-AssemblyAI cascaded pipeline is injected at parse time (see
|
|
@@ -60,7 +60,7 @@ describe("simple template", () => {
|
|
|
60
60
|
// writing your own prompt — or dropping a `system-prompt.md` beside
|
|
61
61
|
// `agent.ts`, which the BUILD folds in — does not redden a claim about
|
|
62
62
|
// the SDK's default.
|
|
63
|
-
expect(expectDeployable(agent({ name: "
|
|
63
|
+
expect(expectDeployable(agent({ name: "Quickstart Assistant" })).systemPrompt).toBe(
|
|
64
64
|
DEFAULT_SYSTEM_PROMPT,
|
|
65
65
|
);
|
|
66
66
|
// And what a prompt of your own resolves to is your text ALONE. That is
|
|
@@ -68,7 +68,7 @@ describe("simple template", () => {
|
|
|
68
68
|
// session and appends yours under a header saying yours wins where they
|
|
69
69
|
// conflict. So write only your own rules — `DEFAULT_SYSTEM_PROMPT` is
|
|
70
70
|
// exported to be READ (print it, diff it across releases), not pasted in.
|
|
71
|
-
const own = agent({ name: "
|
|
71
|
+
const own = agent({ name: "Quickstart Assistant", systemPrompt: "Only discuss the weather." });
|
|
72
72
|
expect(expectDeployable(own).systemPrompt).toBe("Only discuss the weather.");
|
|
73
73
|
});
|
|
74
74
|
});
|
|
@@ -4,5 +4,5 @@ import { agent } from "@alexkroman1/aai";
|
|
|
4
4
|
// pipeline, billed to ASSEMBLYAI_API_KEY. (Add `voice: "..."` to pick its
|
|
5
5
|
// TTS voice, or declare any of stt/llm/tts to swap a single stage.)
|
|
6
6
|
export default agent({
|
|
7
|
-
name: "
|
|
7
|
+
name: "Quickstart Assistant",
|
|
8
8
|
});
|
|
@@ -800,7 +800,7 @@ describe("filing the findings", () => {
|
|
|
800
800
|
* sequential: one angle, and a researcher that stops on its first turn, so the
|
|
801
801
|
* `mapConcurrent` fan-out has a single item and nothing races. A case that wants
|
|
802
802
|
* two angles at once wants a router keyed on the system prompt instead — the
|
|
803
|
-
* shape `link-digest` uses — because the order two concurrent step bodies reach
|
|
803
|
+
* shape `link-digest-workflow` uses — because the order two concurrent step bodies reach
|
|
804
804
|
* the gateway in is the scheduler's business.
|
|
805
805
|
*
|
|
806
806
|
* Five calls make a whole run: the brief, the angles, the researcher's first
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This is the HANDOFF shape: a caller is on the line, so a tool starts a run and
|
|
7
7
|
* answers the turn. When the workflow IS the product — a form rather than a
|
|
8
8
|
* call — the agent is declared with `workflowApp()` instead and has no session
|
|
9
|
-
* at all; `link-digest` is that one, at its smallest.
|
|
9
|
+
* at all; `link-digest-workflow` is that one, at its smallest.
|
|
10
10
|
*
|
|
11
11
|
* The whole point is the thing a voice agent cannot otherwise do: **answer the
|
|
12
12
|
* caller now, finish the work later.** Research takes minutes; the caller is on
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* a 4xx is a `FatalError`, because a revoked webhook answers identically on
|
|
18
18
|
* every retry, and a 5xx is a `RetryableError` carrying Slack's own
|
|
19
19
|
* `Retry-After`. None of that is written here, and the module doc of
|
|
20
|
-
* `podcast-digest/workflows/slack.ts` argues why at length. What is left is the
|
|
20
|
+
* `podcast-digest-workflow/workflows/slack.ts` argues why at length. What is left is the
|
|
21
21
|
* part that is about RESEARCH: what a filed report says.
|
|
22
22
|
*
|
|
23
23
|
* ## The channel is OPTIONAL, and that is deliberate
|
|
@@ -381,7 +381,7 @@ export async function investigate(brief: Brief, angle: string): Promise<Note> {
|
|
|
381
381
|
task: angle,
|
|
382
382
|
// The researcher has not heard the call and cannot see its siblings, so the
|
|
383
383
|
// brief rides in `context` — the same rule `angleBrief` states in
|
|
384
|
-
// `briefing-
|
|
384
|
+
// `topic-briefing-agent`, and the reason a subagent's task must be complete.
|
|
385
385
|
context: briefText(brief),
|
|
386
386
|
});
|
|
387
387
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* `researchFlow` opens the wait with {@link REVIEW_SLEEP_ID} and `file_it_now`
|
|
7
7
|
* ends it by naming the same id, so the two are a pair in the way
|
|
8
|
-
* `recap-
|
|
8
|
+
* `meeting-recap-agent/workflows/tokens.ts` describes: a string written twice is a
|
|
9
9
|
* string that drifts once, and the symptom is `wakeUp` answering `0` — which is
|
|
10
10
|
* ALSO what "the run had already moved past its wait" looks like. One module
|
|
11
11
|
* both sides import is what makes those two answers mean different things.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* `sessionSlot` keyed per session, so two callers planning at once never see
|
|
11
11
|
* each other's steps and an abandoned plan vanishes with the session.
|
|
12
12
|
* Cross-session persistence would mean `ctx.db` and a caller identity, which is
|
|
13
|
-
* a different template (`
|
|
13
|
+
* a different template (`tabletop-rpg-agent` has the save-slot version).
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* described in — the model has to come back for a second call, with the caller's
|
|
26
26
|
* answer in between — which is the property the prose could not have.
|
|
27
27
|
*
|
|
28
|
-
* Adapted from `travel-concierge`, whose `stageAction`/`confirm_action` pair is
|
|
28
|
+
* Adapted from `travel-concierge-agent`, whose `stageAction`/`confirm_action` pair is
|
|
29
29
|
* the same shape one domain over. The difference worth noting: its plans are
|
|
30
30
|
* re-derived at confirm time, and these are computed once at stage time and held
|
|
31
31
|
* as primitives. That is deliberate — see `cancel.ts`. A "yes" must never be
|
|
@@ -74,7 +74,7 @@ export interface StagedResult {
|
|
|
74
74
|
* gate could only say "you are at serving.awaitingConfirmation", a state's
|
|
75
75
|
* instruction being static; this can say *which* change is waiting, which is
|
|
76
76
|
* what lets the model settle that one and re-stage the other. Same resolution
|
|
77
|
-
* as `travel-concierge`, and for the same reason.
|
|
77
|
+
* as `travel-concierge-agent`, and for the same reason.
|
|
78
78
|
*/
|
|
79
79
|
export function stageAction(state: RetailState, action: PendingAction): StagedResult | ToolFailure {
|
|
80
80
|
const waiting = state.pending;
|
|
@@ -40,7 +40,7 @@ export interface Variant {
|
|
|
40
40
|
/**
|
|
41
41
|
* DOLLARS, as a float — this desk's money unit, stated once here because
|
|
42
42
|
* `price: number` says nothing and the two conventions in the template corpus
|
|
43
|
-
* differ: `hotel-
|
|
43
|
+
* differ: `hotel-reception-agent` counts integer CENTS and divides on the way into
|
|
44
44
|
* `formatMoney`/`spokenMoney`, while this one counts dollars and rounds with
|
|
45
45
|
* {@link money} at each step that will be compared or stored.
|
|
46
46
|
*
|
|
@@ -70,7 +70,7 @@ export function seedStore(): Store {
|
|
|
70
70
|
* step's tool calls concurrently, and a draft that cannot span an await cannot
|
|
71
71
|
* interleave with another one.
|
|
72
72
|
*
|
|
73
|
-
* No `after` hook — unlike dispatch-
|
|
73
|
+
* No `after` hook — unlike emergency-dispatch-agent, this store has no derived field to
|
|
74
74
|
* recalculate. Its one growth cap (`activity`) is the slot's `caps`, so it holds
|
|
75
75
|
* for `record` below and for `agent.ts`'s hook alike.
|
|
76
76
|
*/
|
|
@@ -279,7 +279,7 @@ export function findPaymentMethod(user: User, methodId: string): PaymentMethod |
|
|
|
279
279
|
* flow says `serving` while nothing latched a user id — which no code path
|
|
280
280
|
* produces, since `authenticateAs` is what both writes the id and lets the
|
|
281
281
|
* `IDENTIFIED` event through. It is kept and reported rather than thrown for the
|
|
282
|
-
* reason `travel-concierge`'s `cancel_action` keeps its own: this runs mid-call,
|
|
282
|
+
* reason `travel-concierge-agent`'s `cancel_action` keeps its own: this runs mid-call,
|
|
283
283
|
* and a sentence the model can act on beats an exception. The GATE that a
|
|
284
284
|
* customer is identified at all is `callFlow`'s, declared per tool as `when`.
|
|
285
285
|
*/
|
|
@@ -401,7 +401,7 @@ interface RetailToolSpec<S extends z.ZodType<Record<string, unknown>>, R> {
|
|
|
401
401
|
* Synchronous for the same reason: the window cannot span an await — see
|
|
402
402
|
* {@link SessionSlot.update}. Every tool here is a pure function of the store,
|
|
403
403
|
* so none of them wants to; a tool that DID would await outside the wrapper and
|
|
404
|
-
* call `retailSlot.update` itself, the way `
|
|
404
|
+
* call `retailSlot.update` itself, the way `research-planner-agent`'s do.
|
|
405
405
|
*/
|
|
406
406
|
execute: (args: z.output<S>, state: RetailState, ctx: ToolContext) => R | ToolFailure;
|
|
407
407
|
}
|
|
@@ -77,7 +77,7 @@ export default agent({
|
|
|
77
77
|
// No `syncState` and no `client.tsx`: what a caller of this line can see is
|
|
78
78
|
// the phone. The state worth rendering would be the POSITION rather than the
|
|
79
79
|
// slot, and `roadsideCall.projection((at) => at)` is how a custom chrome
|
|
80
|
-
// would take it — see `dispatch-
|
|
80
|
+
// would take it — see `emergency-dispatch-agent` for a template that does.
|
|
81
81
|
|
|
82
82
|
greeting:
|
|
83
83
|
"Roadside assistance, you've reached the dispatch desk. First things first — are you " +
|
|
@@ -230,7 +230,7 @@ export const LOCATING = ["onCall.locating", "onCall.quiet"] as const;
|
|
|
230
230
|
*
|
|
231
231
|
* `"onCall"` matches all five of its children, which is what makes a read legal
|
|
232
232
|
* throughout the call and refused the moment it ends. The same shape as
|
|
233
|
-
* `retail`'s `BEFORE_TRANSFER`, and the same reason: "needs no phase in
|
|
233
|
+
* `retail-orders-agent`'s `BEFORE_TRANSFER`, and the same reason: "needs no phase in
|
|
234
234
|
* particular" and "is still legal after the caller is gone" were never the same
|
|
235
235
|
* claim.
|
|
236
236
|
*/
|
|
@@ -8,11 +8,11 @@ import { formatMoney } from "@alexkroman1/aai/utils";
|
|
|
8
8
|
* words the disclosure is read from.
|
|
9
9
|
*
|
|
10
10
|
* `call.ts` holds the other half — where the CONVERSATION is. The split is the
|
|
11
|
-
* one `retail` draws between `shared.ts` and `store.ts` and it is worth keeping
|
|
11
|
+
* one `retail-orders-agent` draws between `shared.ts` and `store.ts` and it is worth keeping
|
|
12
12
|
* here for a reason specific to this template: everything in this file is a
|
|
13
13
|
* fact about the caller's vehicle, policy and truck, and not one of those is a
|
|
14
14
|
* fact about the call. Per-entity facts live in the slot; the position lives in
|
|
15
|
-
* the dialog. Mixing them is the mistake `dispatch-
|
|
15
|
+
* the dialog. Mixing them is the mistake `emergency-dispatch-agent`'s guide entry is
|
|
16
16
|
* about, and a file boundary is a cheap way not to make it.
|
|
17
17
|
*/
|
|
18
18
|
|
|
@@ -312,7 +312,7 @@ export const LOG_CAP: SlotCaps<RoadsideState> = { log: 24 };
|
|
|
312
312
|
* quoted, and the log is bounded by `caps` — twenty-four lines is enough to
|
|
313
313
|
* read back a whole call. The moment a field IS derived — a running total, a
|
|
314
314
|
* flag some tool reads — it belongs in an `after` hook rather than in whichever
|
|
315
|
-
* tool happened to write last; see `dispatch-
|
|
315
|
+
* tool happened to write last; see `emergency-dispatch-agent` for the worked version of
|
|
316
316
|
* that.
|
|
317
317
|
*/
|
|
318
318
|
export const roadsideSlot = sessionSlot("roadside", emptyRoadsideState, { caps: LOG_CAP });
|
package/dist/templates/{roadside-assist → roadside-assistance-agent}/tools/dispatch_truck.ts
RENAMED
|
@@ -61,7 +61,7 @@ interface DispatchPlan {
|
|
|
61
61
|
*
|
|
62
62
|
* It is also deliberately OUTSIDE the mutation window. `reserveTruck` awaits
|
|
63
63
|
* the yard, and a `slot.update` body is synchronous — so the shape is claim,
|
|
64
|
-
* await, then write, which is the same order `
|
|
64
|
+
* await, then write, which is the same order `research-planner-agent`'s
|
|
65
65
|
* `work_next_step` uses for a body that has to call out mid-tool.
|
|
66
66
|
*/
|
|
67
67
|
const planDispatch = failable(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2026 the AAI authors. MIT license.
|
|
2
2
|
/**
|
|
3
|
-
* Specs for the spoken-summary app's declaration and its four legs.
|
|
3
|
+
* Specs for the spoken-summary-workflow app's declaration and its four legs.
|
|
4
4
|
*
|
|
5
5
|
* The four legs are ordinary exported async functions, so their HTTP handling,
|
|
6
6
|
* their fatal/retryable classification and what they return are all testable
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* A WORKFLOW APP that goes audio in, audio out: upload a recording and it comes
|
|
4
4
|
* back with a summary you can read AND one you can listen to.
|
|
5
5
|
*
|
|
6
|
-
* `link-digest` is the template to read first: it owns the shape —
|
|
6
|
+
* `link-digest-workflow` is the template to read first: it owns the shape —
|
|
7
7
|
* `workflowApp()`, no session, no tools, a form that starts a run and a page
|
|
8
8
|
* that watches it — and none of that is restated here. `transcription-workflow`
|
|
9
9
|
* owns the other half of the background: uploads, and what it costs to cut a
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* The page: a form, a progress log, a summary, and a player.
|
|
4
4
|
*
|
|
5
|
-
* `link-digest` shows these primitives raw and `transcription-workflow` shows
|
|
5
|
+
* `link-digest-workflow` shows these primitives raw and `transcription-workflow` shows
|
|
6
6
|
* the form layer in full; neither is restated here. What this page adds is the
|
|
7
7
|
* one thing a workflow app could not do before — **playing a file the RUN
|
|
8
8
|
* produced.**
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* synthesized the bullet list would produce something nobody wants to listen
|
|
35
35
|
* to — a voice reading "one. two. three." with no connective tissue. So the
|
|
36
36
|
* schema asks for a script as well, in sentences, and that is what
|
|
37
|
-
* {@link speak} is handed. It is the same decision `recap-
|
|
37
|
+
* {@link speak} is handed. It is the same decision `meeting-recap-agent` makes for
|
|
38
38
|
* the sentence it reads down a phone, and it is one prompts get wrong when the
|
|
39
39
|
* shape does not force it.
|
|
40
40
|
*
|
|
@@ -362,7 +362,7 @@ export const gameSlot = sessionSlot("game", () => structuredClone(DEFAULT_STATE)
|
|
|
362
362
|
// `revertConsequences` and `update_state`, which is the shape `after` exists
|
|
363
363
|
// to replace: a new tool that empties a track now cannot store a stale
|
|
364
364
|
// `gameOver`, and `gameOver` is what the story flow's `DOWNED` transition
|
|
365
|
-
// reads. `dispatch-
|
|
365
|
+
// reads. `emergency-dispatch-agent`'s board is the same pattern one template over.
|
|
366
366
|
after: updateCrisisFlags,
|
|
367
367
|
caps: GAME_CAPS,
|
|
368
368
|
});
|
|
@@ -453,7 +453,7 @@ export const gameProjection = gameSlot.projection(gameView);
|
|
|
453
453
|
* **What stays in {@link GameState} is what the CLIENT renders** —
|
|
454
454
|
* `initialized`, `crisisMode`, `gameOver` — because `syncState` carries one
|
|
455
455
|
* projection and it is the campaign's. The flow holds the POSITION and the slot
|
|
456
|
-
* holds the campaign, which is the same split `travel-concierge` makes between
|
|
456
|
+
* holds the campaign, which is the same split `travel-concierge-agent` makes between
|
|
457
457
|
* its gate and its trip: one tool call moves both, in one synchronous window
|
|
458
458
|
* each.
|
|
459
459
|
*
|
|
@@ -601,7 +601,7 @@ export function makeNpc(opts: {
|
|
|
601
601
|
* ordinal first would silently retarget it at whatever is at index 0. An exact
|
|
602
602
|
* name always wins; the ordinal is only consulted when nothing was named.
|
|
603
603
|
*
|
|
604
|
-
* Generic over the clock's own type — as `dispatch-
|
|
604
|
+
* Generic over the clock's own type — as `emergency-dispatch-agent`'s `findIncident` is —
|
|
605
605
|
* so one lookup serves an `updateTool` draft and a frozen read alike.
|
|
606
606
|
*/
|
|
607
607
|
export function findClock<C extends { id: string; name: string }>(
|
|
@@ -9,7 +9,7 @@ import { gameSlot, stateSummary, storyFlow } from "../shared.ts";
|
|
|
9
9
|
* **Legal in every state, which is why it is not a `storyFlow.tool`** — the
|
|
10
10
|
* prompt says to call it FIRST every turn, and that includes the turn before a
|
|
11
11
|
* character exists. It is also the one tool that reports the POSITION, the way
|
|
12
|
-
* `
|
|
12
|
+
* `research-planner-agent`'s `plan_status` does: the position comes from the machine
|
|
13
13
|
* rather than from a second reading of the campaign's fields, so "there is no
|
|
14
14
|
* character yet" is the same fact here as the refusal `action_roll` would give.
|
|
15
15
|
*/
|
|
@@ -337,8 +337,8 @@ function InfocomAdventure() {
|
|
|
337
337
|
latches a fatal error the state eyebrow goes back to reading like a
|
|
338
338
|
live session, so this is the only remaining signal — and the two
|
|
339
339
|
sibling chromes had already drifted on whether to print the code.
|
|
340
|
-
The frame's own square corners, the way `dispatch-
|
|
341
|
-
`retail` take it. */}
|
|
340
|
+
The frame's own square corners, the way `emergency-dispatch-agent` and
|
|
341
|
+
`retail-orders-agent` take it. */}
|
|
342
342
|
<SessionErrorBanner className="rounded-none border-x-0 border-b-0 font-mono" />
|
|
343
343
|
<Transcript />
|
|
344
344
|
<Footer />
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
* eval driving it alone would measure an agent with no tools and the FRAMEWORK
|
|
32
32
|
* DEFAULT prompt — i.e. a desk that has never heard of a researcher, on which
|
|
33
33
|
* every claim below would pass or fail for the wrong reason. The reasoning is
|
|
34
|
-
* spelled out in `../code-interpreter/agent.eval.test.ts`.
|
|
34
|
+
* spelled out in `../code-interpreter-agent/agent.eval.test.ts`.
|
|
35
35
|
*/
|
|
36
36
|
import agentDef from "virtual:aai/agent";
|
|
37
37
|
import { countWords } from "@alexkroman1/aai/utils";
|
|
@@ -66,7 +66,7 @@ const DESK_TOOLS: readonly string[] = [
|
|
|
66
66
|
/**
|
|
67
67
|
* What `research_topic` answers with, as a schema rather than a cast.
|
|
68
68
|
*
|
|
69
|
-
* `toolResultIn` takes one for the reason `
|
|
69
|
+
* `toolResultIn` takes one for the reason `entertainment-picks-agent`'s spec records: a result
|
|
70
70
|
* that stopped carrying `findings` FAILS here naming the field, where a cast
|
|
71
71
|
* hands the assertions `undefined` and fails a line later on something
|
|
72
72
|
* unrelated.
|
|
@@ -145,7 +145,7 @@ describeEval(agentDef, (test) => {
|
|
|
145
145
|
for (const finding of result.findings) expect(finding.summary.length).toBeGreaterThan(40);
|
|
146
146
|
|
|
147
147
|
// The isolation claim, and the reason this template is not
|
|
148
|
-
// `web-
|
|
148
|
+
// `web-research-agent`: the desk has NO web tools, so anything it says about
|
|
149
149
|
// the world crossed back out of a subagent. A `web_search` in this list
|
|
150
150
|
// would mean the builtins had leaked onto the parent.
|
|
151
151
|
expect(toolNames(turn.toolCalls).filter((name) => !DESK_TOOLS.includes(name))).toEqual([]);
|
|
@@ -29,7 +29,7 @@ import { roster } from "./shared.ts";
|
|
|
29
29
|
* `delegate` tool listing both, so a third specialist is a line here rather
|
|
30
30
|
* than a fourth file in `tools/` whose body is one `ctx.delegate` call.
|
|
31
31
|
*
|
|
32
|
-
* Compare `web-
|
|
32
|
+
* Compare `web-research-agent`, which gives the search builtins to the agent
|
|
33
33
|
* itself: that is the right shape for one lookup, and the wrong one the moment
|
|
34
34
|
* a question has four sides.
|
|
35
35
|
*/
|
|
@@ -305,7 +305,7 @@ export function totalWork(findings: readonly DeepReadonly<Finding>[]): AngleWork
|
|
|
305
305
|
* Run one angle and reduce it to what the board holds.
|
|
306
306
|
*
|
|
307
307
|
* Takes the DELEGATE rather than the whole tool context — the same seam
|
|
308
|
-
* `
|
|
308
|
+
* `research-planner-agent` puts on `ctx.generate`. The desk's own logic is then
|
|
309
309
|
* exercised against a fake without a context at all, and the tool that fans
|
|
310
310
|
* these out stays one line per angle.
|
|
311
311
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* it, leaving {@link briefingMessage} as the only thing here that a reader of
|
|
16
16
|
* THIS template has to think about.
|
|
17
17
|
*
|
|
18
|
-
* It is a pure function for the same reason `podcast-digest`'s is: a spec
|
|
18
|
+
* It is a pure function for the same reason `podcast-digest-workflow`'s is: a spec
|
|
19
19
|
* asserts what the desk would post without a network and without knowing
|
|
20
20
|
* Slack's payload shape. Asserting the payload itself — `renderChannelPayload`,
|
|
21
21
|
* the Block Kit, the escaping — would pin the SDK's rendering from the outside,
|
|
@@ -189,7 +189,7 @@ describe("the agent declares its three workflows", () => {
|
|
|
189
189
|
// to edit rather than satisfy. `workflowApp()` declares no session, so a
|
|
190
190
|
// tool has no conversation to be called from — a name appearing here means
|
|
191
191
|
// the voice path crept back in and the tool will never run. If you want a
|
|
192
|
-
// voice agent that STARTS a workflow, `research-
|
|
192
|
+
// voice agent that STARTS a workflow, `research-handoff-agent` is that template,
|
|
193
193
|
// and this line is what tells you you are on the wrong one.
|
|
194
194
|
expect(Object.keys(agentDef.tools ?? {})).toEqual([]);
|
|
195
195
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* A WORKFLOW APP that really transcribes: point it at a recording and it comes
|
|
4
4
|
* back with the text.
|
|
5
5
|
*
|
|
6
|
-
* `link-digest` is the template to read first: it owns the shape —
|
|
6
|
+
* `link-digest-workflow` is the template to read first: it owns the shape —
|
|
7
7
|
* `workflowApp()`, no session, no tools, a form that starts a run and a page
|
|
8
8
|
* that watches it — and none of that is restated here. What this one adds is a
|
|
9
9
|
* workflow that does real, rate-limited, provider-shaped work:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* The transcription desk's page: a form, a progress log, and a transcript.
|
|
4
4
|
*
|
|
5
|
-
* `link-digest` is the smaller example and the one to read first — it shows the
|
|
5
|
+
* `link-digest-workflow` is the smaller example and the one to read first — it shows the
|
|
6
6
|
* layer under `<Form>` raw: a hand-written `<form>` with its own `useState`,
|
|
7
7
|
* handing an object to `submit()`. This page is the same thing with the two
|
|
8
8
|
* pieces that hand-rolling gets tedious:
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* `stepTranscribeUpload` / `stepTranscribeSubmit` / `stepTranscribePoll` on
|
|
29
29
|
* `@alexkroman1/aai/step` own the URL, the raw-key auth, the windowed streaming
|
|
30
30
|
* upload, the PLURAL `speech_models` field and the failure classification. This file
|
|
31
|
-
* used to spell all of that out, and so did `spoken-summary` — the same ~200 lines
|
|
31
|
+
* used to spell all of that out, and so did `spoken-summary-workflow` — the same ~200 lines
|
|
32
32
|
* twice, reworded, identical in behaviour, and drifting apart at the edges.
|
|
33
33
|
*
|
|
34
34
|
* What stays here is what a dependency cannot decide: how many steps to cut the job
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
*
|
|
42
42
|
* The wait. A job takes minutes, and nothing about an HTTP request survives minutes:
|
|
43
43
|
* the poll has to outlive the process that started it, which is exactly what a
|
|
44
|
-
* durable `sleep` is. `recap-
|
|
44
|
+
* durable `sleep` is. `meeting-recap-agent` ports Temporal's `polling` sample for this
|
|
45
45
|
* shape and its module doc carries the argument; this is the same pattern with the
|
|
46
46
|
* poll bounded by attempts rather than by a deadline.
|
|
47
47
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The durable half of the transcription desk: split a recording, transcribe
|
|
4
4
|
* every piece, stitch the pieces back together.
|
|
5
5
|
*
|
|
6
|
-
* Read `research-
|
|
6
|
+
* Read `research-handoff-agent/workflows/research.ts` first. It states the two rules
|
|
7
7
|
* every directive body obeys — replayed from the top, so no live handles and no
|
|
8
8
|
* undurable decisions; step arguments and return values are serialized, so pass
|
|
9
9
|
* an id and not a payload — and both hold here unchanged. What this template
|
|
@@ -483,7 +483,7 @@ type DeskToolDef<P extends ToolInputSchema, V, R> = Omit<SlotToolDef<P, V, R>, "
|
|
|
483
483
|
* Nine tools used to open with the same two lines, and a wrapper is what makes
|
|
484
484
|
* the narrowing STRUCTURAL rather than remembered: their graph binds a tool set
|
|
485
485
|
* per node, and the tenth desk tool written here cannot forget the gate the way
|
|
486
|
-
* a copied prologue can. It is the per-agent wrapper `retail` demonstrates, at
|
|
486
|
+
* a copied prologue can. It is the per-agent wrapper `retail-orders-agent` demonstrates, at
|
|
487
487
|
* its smallest — all this one adds is the gate, so what it takes is the SLOT's
|
|
488
488
|
* OWN {@link SlotToolDef} rather than a spec of its own, and a tool file reads
|
|
489
489
|
* exactly as it did minus the prologue.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
// that is where it lives: the build discovers the file, so an eval driving
|
|
12
12
|
// `agent.ts` alone would measure Scout with none of its own rules — and its
|
|
13
13
|
// rules are the entire subject of this file. The reasoning is spelled out in
|
|
14
|
-
// `../code-interpreter/agent.eval.test.ts`.
|
|
14
|
+
// `../code-interpreter-agent/agent.eval.test.ts`.
|
|
15
15
|
|
|
16
16
|
import agentDef from "virtual:aai/agent";
|
|
17
17
|
import { expectToolBeforeSpeech } from "@alexkroman1/aai-runtime/eval";
|
|
@@ -32,7 +32,7 @@ import promptFile from "./system-prompt.md?raw";
|
|
|
32
32
|
* import is also the file's existence check — `deployedAgent` is handed the
|
|
33
33
|
* prompt and nothing else, and refuses a call with no project files at all.
|
|
34
34
|
*/
|
|
35
|
-
describe("web-
|
|
35
|
+
describe("web-research-agent template", () => {
|
|
36
36
|
test("is deployable: validates, is nameable, and every stage its mode needs is filled", () => {
|
|
37
37
|
// This template declares no provider at all — the whole voice pipeline is
|
|
38
38
|
// the injected all-AssemblyAI default, which is what lets the starter run
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The two builtins are the whole agent — `system-prompt.md` holds the rules
|
|
5
5
|
* that make it a researcher rather than a talkative model, and there is no
|
|
6
6
|
* `tools/` directory. Keep it that way: a question with four sides wants
|
|
7
|
-
* `briefing-
|
|
7
|
+
* `topic-briefing-agent`, which puts a subagent on each of them. This template is the
|
|
8
8
|
* one lookup, done properly and cited.
|
|
9
9
|
*
|
|
10
10
|
* **It is also the worked example for `mcpServers`** — the OTHER way an agent
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* re-arm the two minutes on every sentence and the round would never end. The
|
|
16
16
|
* tools that run during a round (`relay_description`, `skip_word`, `repeat_word`)
|
|
17
17
|
* therefore send NOTHING; they read and write the slot and leave the position
|
|
18
|
-
* alone. That is the opposite of `roadside-
|
|
18
|
+
* alone. That is the opposite of `roadside-assistance-agent`'s silence ladder, and the
|
|
19
19
|
* same rule read the other way.
|
|
20
20
|
*
|
|
21
21
|
* **Time's up is announced a turn late, and that is a property of deadlines.** A
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* disconnect-and-reconnect of the player on every new word so it never carries
|
|
16
16
|
* a previous word's context.
|
|
17
17
|
*
|
|
18
|
-
* | word-
|
|
18
|
+
* | word-game-agent phone game | here |
|
|
19
19
|
* | --- | --- |
|
|
20
20
|
* | the host `GeminiLiveLLMService` (text modality) | the voice agent — its model and its TTS |
|
|
21
21
|
* | the player `ResettablePlayerLLM` (its own Gemini Live session) | `askPlayer` in `player.ts`: one `ctx.generate` per description, on the player's own system prompt |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { a as ok, n as fail } from "./_output-DBP9Op_d.mjs";
|
|
3
3
|
import { n as log } from "./_ui-DCt4qZrk.mjs";
|
|
4
4
|
import { l as formatCappedList } from "./_utils-D5JGcjiW.mjs";
|
|
5
|
-
import { i as unrunSpecFiles, n as classifyVitestError, r as runVitest, t as WIDEN_HINT } from "./_vitest-runner-
|
|
5
|
+
import { i as unrunSpecFiles, n as classifyVitestError, r as runVitest, t as WIDEN_HINT } from "./_vitest-runner-BiAMIir1.mjs";
|
|
6
6
|
import { omitUndefined } from "@alexkroman1/aai/utils";
|
|
7
7
|
//#region src/test.ts
|
|
8
8
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexkroman1/aai-cli",
|
|
3
|
-
"version": "16.0
|
|
3
|
+
"version": "16.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"p-timeout": "^7.0.1",
|
|
58
58
|
"vite": "^8.2.2",
|
|
59
59
|
"zod": "^4.5.4",
|
|
60
|
-
"@alexkroman1/aai": "16.0
|
|
61
|
-
"@alexkroman1/aai-
|
|
62
|
-
"@alexkroman1/aai-
|
|
60
|
+
"@alexkroman1/aai": "16.1.0",
|
|
61
|
+
"@alexkroman1/aai-runtime": "16.1.0",
|
|
62
|
+
"@alexkroman1/aai-ui": "16.1.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"playwright": "^1.62.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/candidate_details.ts
RENAMED
|
File without changes
|
/package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/proceed_to_emails.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/rescore_with_feedback.ts
RENAMED
|
File without changes
|
/package/dist/templates/{hiring-desk → applicant-screening-agent}/tools/screen_candidates.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|