Overview
| Comment: | pic import --claude --count: build pic's real first request (its own system prompt, context and tools) and count it with Anthropic's count_tokens; other providers print the estimate |
|---|---|
| Timelines: | family | ancestors | descendants | both | claude-import-attachments |
| Files: | files | file ages | folders |
| SHA3-256: |
d285cc0838f492dff4874061bed61f58 |
| User & Date: | dmestas on 2026-11-20 18:38:48.134 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-20
| ||
| 18:38 | Merge trunk closed check-in: 77b8723003 user: dmestas tags: claude-import-attachments | |
| 18:38 | pic import --claude --count: build pic's real first request (its own system prompt, context and tools) and count it with Anthropic's count_tokens; other providers print the estimate check-in: d285cc0838 user: dmestas tags: claude-import-attachments | |
| 18:32 | pic import --claude: queued prompts, @-mentioned files, file-changed notices and hook context from Claude Code attachment records, as user text in record order check-in: 6592c28d87 user: dmestas tags: claude-import-attachments | |
Changes
Modified src/import_claude.c
from [18735f3e0f]
to [aa90b7f6c0].
[diff]
Modified src/loop.c
from [69e45e5ccd]
to [85767827a6].
[diff]
Modified src/main.c
from [05e7e5621d]
to [6e690b6863].
[diff]
Modified src/pic.h
from [2d20381e2c]
to [471ddbc6cc].
[diff]
Modified src/provider_anthropic.c
from [685d5875d3]
to [867d84dfe1].
[diff]
Modified src/provider_fake.c
from [d1f9666fd6]
to [d724ea20fd].
[diff]
Modified src/provider_http.c
from [9109b6825f]
to [06fa42f516].
[diff]
Modified src/provider_http.h
from [f299d6c1bc]
to [34ccbee90a].
[diff]
Modified test/pic/fake_server.c
from [276c810a92]
to [b0b09e7c4e].
[diff]
Modified test/pic/import_claude.sh
from [399219d2bd]
to [4ebb350a41].
[diff]