← Catalog

@celljs/ta-call

A pi package for Ta: in a call, a front that talks at once, whatever the work does, hands the work to the conversation and looks up any detail of it when asked

Package

Install

Install with PiG

pig install npm:@celljs/ta-call

Install with Pi

pi install npm:@celljs/ta-call
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "web": [
    "./web/index.js"
  ],
  "host": "./host/index.mjs",
  "icon": "Phone",
  "title": {
    "en": "Calls",
    "ja-JP": "通話",
    "zh-CN": "通话",
    "zh-TW": "通話"
  },
  "summary": {
    "en": "Talk with Ta as with a person: it answers at once while the work goes on, chats, reads you a poem, hands the work over and knows any detail of it when you ask.",
    "ja-JP": "人と電話するように Ta と話せます。作業中でもすぐに応え、雑談や詩の朗読もでき、作業は裏に任せ、聞かれれば細部まで答えます。",
    "zh-CN": "像和真人打电话一样和 Ta 说话:干活的时候也随时回应你,能闲聊、念诗,把要做的事交给后台,问到任务的任何细节都答得上来。",
    "zh-TW": "像和真人打電話一樣和 Ta 說話:幹活的時候也隨時回應你,能閒聊、念詩,把要做的事交給後台,問到任務的任何細節都答得上來。"
  },
  "extensions": [
    "./extension/index.mjs"
  ],
  "permissions": {
    "host": {
      "*": "models.use"
    }
  }
}

README

Written by the package's publisher, shown as published in version 4.35.0 (README.md). PiG does not review it.

@celljs/ta-call

Ta 的通话前台:通话时由一个轻量会话随时回应你(闲聊、念诗、回答问题),要做的事交给被通话的对话或分身,问到任务细节时按需去查。设计见 docs/design/ta-call.md。

  • 页面:注册通话伙伴(registerCallPartner),设置里可选"通话用的模型",默认用同一提供商里快的那个。
  • 服务端(host):每次通话开一个前台会话,通话结束就关掉。
  • pi 扩展:前台只有 tell(插话进被通话的对话)、side(开旁路对话,同目录、同角色、按发起人的权限)、stop、status、look 五个工具,不读你的说明文件和技能。
  • 通话开始时带上被通话对话的角色、名字、现在的状态和最近几轮(最多约 1200 字),之后的细节按需 look。
  • 通话对话在对话列表里收进"通话"文件夹,可以回看;按对话列表的归档天数归档,置顶的文件夹全部归档后也一直在,点开连归档的一起列出。