hap-cli 0.9.14__tar.gz → 0.9.15__tar.gz
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.
- {hap_cli-0.9.14 → hap_cli-0.9.15}/PKG-INFO +1 -1
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/__init__.py +1 -1
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/calendar_cmd.py +4 -4
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/record_cmd.py +4 -3
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/chat.py +44 -4
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/record.md +4 -3
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/record.md +3 -2
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/locale/messages.json +4 -4
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli.egg-info/PKG-INFO +1 -1
- {hap_cli-0.9.14 → hap_cli-0.9.15}/MANIFEST.in +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/README.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/README.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/README_CN.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/__main__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/_entry.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/app_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/app_creator_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/app_editor_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/attachment_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/auth_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/chart_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/chat_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/chatbot_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/config_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/contact_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/department_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/group_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/guide_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/icon_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/instance_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/node_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/optionset_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/page_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/post_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/region_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/role_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/update_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/upload_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/v3_registry.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/workflow_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/commands/worksheet_cmd.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/context.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/action_spec_adapter.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/_hapmeta/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/_hapmeta/control_type_codes.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/_hapmeta/worksheet_templates.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/charts.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/cleanup.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/compiler.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/config.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/design/design.schema.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/errors.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/examples/minimal.design.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/executor.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/fields.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/hap.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/merge.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/recording/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/recording/console.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/recording/jsonl.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/recording/mirror.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/recording/report.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/schema.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/INSTRUCTIONS.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/cli.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/executor.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/resources/attachments.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/resources/sample.docx +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/resources/sample.pdf +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/resources/sample_images.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/template.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/selftest.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/smoke.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/steps.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/store.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/validate.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/workflow_dsl.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/attachment.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/auth.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/calendar_mod.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/chart.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/chatbot.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/cli_access.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/condition_dsl.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/contact.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/control_type_codes.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/department.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/_hapmeta/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/_hapmeta/control_type_codes.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/apply.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/componentlower.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/editspec/component.schema.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/editspec/custom-action.schema.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/editspec/envelope.schema.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/editspec/field.schema.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/editspec.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/errors.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/fieldlower.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/jsonschema_mini.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/models.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/ops.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/planner.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/editor/reader.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/field_normalizer.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/field_spec_adapter.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/filter_translator.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/filter_v3.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/flow_node.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/global_meta.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/group.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/guide.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/icon_index.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/instance.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/layout_check.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/logger.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/optionset.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/page.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/post.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/record.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/record_defaults.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/record_discussions.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/record_form_checks.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/record_lookups.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/record_rules.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/relation_scope.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/relogin.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/response_crypto.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/role.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/role_perm_builder.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/rule_spec_adapter.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/session.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/token_crypto.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/update.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/upload.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/v3/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/v3/dispatcher.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/v3/render.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/v3/schema.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/view_spec_adapter.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/workflow.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/workflow_node_dsl.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/worksheet.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/worksheet_form.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/worksheet_reference.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/worksheet_templates.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/approval.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/chart.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/messages.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/overview.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/post.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/setup.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/skills.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/workflow.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/en/worksheet.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/index.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/approval.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/chart.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/messages.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/overview.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/post.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/setup.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/skills.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/workflow.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/guide/zh-Hans/worksheet.md +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/i18n.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/locale/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/locale/messages.schema.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/utils/__init__.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/utils/atomic_write.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/utils/confirm.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/utils/formatting.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/utils/options.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/utils/parameter_mapping.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli.egg-info/SOURCES.txt +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli.egg-info/dependency_links.txt +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli.egg-info/entry_points.txt +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli.egg-info/requires.txt +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli.egg-info/top_level.txt +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/setup.cfg +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/setup.py +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/INDEX.json +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/add_member_to_role.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/batch_delete_records.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/create_optionset.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/create_role.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/delete_optionset.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/delete_record.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/delete_role.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/delete_worksheet.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_app_info.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_app_knowledge_list.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_app_worksheets_list.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_optionset_list.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_record_details.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_record_discussions.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_record_list.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_record_logs.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_record_pivot_data.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_record_relations.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_record_share_link.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_regions.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_role_details.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/get_role_list.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/knowledge_search.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/leave_all_roles.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/remove_member_from_role.yaml +0 -0
- {hap_cli-0.9.14 → hap_cli-0.9.15}/sources/v3-api-schema/update_optionset.yaml +0 -0
|
@@ -565,10 +565,10 @@ def calendar_add_discussion(ctx, calendar_id, message, reply_id, files,
|
|
|
565
565
|
"""Post a comment on a calendar event.
|
|
566
566
|
|
|
567
567
|
Everyone invited to the event can see the comment. Attached files are
|
|
568
|
-
downloadable by every participant.
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
568
|
+
downloadable by every participant. To mention someone mid-sentence,
|
|
569
|
+
write user:<accountId> where the mention belongs. --at and --at-all
|
|
570
|
+
add mentions at the end of the comment instead. Either way the
|
|
571
|
+
people named are notified.
|
|
572
572
|
"""
|
|
573
573
|
try:
|
|
574
574
|
session = ctx.get_session()
|
|
@@ -601,9 +601,10 @@ def record_add_discussion(ctx, worksheet_id, row_id, message, app_id, view_id,
|
|
|
601
601
|
at_account_ids):
|
|
602
602
|
"""Add a discussion/comment to a record.
|
|
603
603
|
|
|
604
|
-
|
|
605
|
-
mention
|
|
606
|
-
|
|
604
|
+
To mention someone mid-sentence, write user:<accountId> where the
|
|
605
|
+
mention belongs, e.g. -m "Thanks user:<accountId> for checking".
|
|
606
|
+
--at and --at-all add mentions at the end of the comment instead.
|
|
607
|
+
Either way the people named are notified.
|
|
607
608
|
"""
|
|
608
609
|
try:
|
|
609
610
|
session = ctx.get_session()
|
|
@@ -1288,7 +1288,8 @@ def apply_mentions(
|
|
|
1288
1288
|
at_all: bool = False,
|
|
1289
1289
|
account_ids: Optional[list[str]] = None,
|
|
1290
1290
|
) -> str:
|
|
1291
|
-
"""
|
|
1291
|
+
"""Write the mention markers into a comment: inline ones in place,
|
|
1292
|
+
``--at`` / ``--at-all`` ones at the end of the author's own text.
|
|
1292
1293
|
|
|
1293
1294
|
The product drops a mention wherever the writer typed the ``@``, and
|
|
1294
1295
|
inserts it as ``@<name>`` followed by one space
|
|
@@ -1297,14 +1298,53 @@ def apply_mentions(
|
|
|
1297
1298
|
should see it — ends with the mention, so that is where the CLI puts
|
|
1298
1299
|
it, separated by a single space. Leading it instead reads as
|
|
1299
1300
|
"@everyone Alvin, about that…", which is not how the box behaves.
|
|
1301
|
+
|
|
1302
|
+
A mention can also sit mid-sentence: ``user:<accountId>`` written in
|
|
1303
|
+
the text (the same spelling ``hap post`` uses) becomes the
|
|
1304
|
+
``[aid]<accountId>[/aid]`` marker right where it was typed, followed
|
|
1305
|
+
by one space as the composer leaves it. Markers already in stored
|
|
1306
|
+
form pass through untouched. Captured from the web record pane
|
|
1307
|
+
2026-11-27: ``"我 [aid]<id>[/aid] 来看一下"`` — the marker in the
|
|
1308
|
+
middle of the text is how the product itself sends it, and it
|
|
1309
|
+
notifies. People named both inline and via ``account_ids``, and an
|
|
1310
|
+
everyone-mention already in the text, are not appended again.
|
|
1300
1311
|
"""
|
|
1301
|
-
|
|
1312
|
+
text = inline_mentions(message or "")
|
|
1313
|
+
present = set(_AID_RE.findall(text))
|
|
1314
|
+
extra_ids = [a for a in (account_ids or []) if a and a not in present]
|
|
1315
|
+
markers = build_mention_markers(
|
|
1316
|
+
at_all=at_all and _AT_ALL_MARKER not in text,
|
|
1317
|
+
account_ids=extra_ids,
|
|
1318
|
+
)
|
|
1302
1319
|
if not markers:
|
|
1303
|
-
return
|
|
1304
|
-
body =
|
|
1320
|
+
return text
|
|
1321
|
+
body = text.rstrip()
|
|
1305
1322
|
return f"{body} {markers}" if body else markers
|
|
1306
1323
|
|
|
1307
1324
|
|
|
1325
|
+
# An inline mention written into a comment: ``user:<accountId>``. Account
|
|
1326
|
+
# ids are UUIDs; requiring that shape keeps ordinary prose such as
|
|
1327
|
+
# "user:admin" from being turned into a mention.
|
|
1328
|
+
_INLINE_MENTION_RE = re.compile(
|
|
1329
|
+
r"(?<![0-9A-Za-z_])user:"
|
|
1330
|
+
r"([0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}"
|
|
1331
|
+
r"-[0-9A-Fa-f]{12})(?![0-9A-Za-z-])"
|
|
1332
|
+
)
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
def inline_mentions(message: str) -> str:
|
|
1336
|
+
"""Rewrite ``user:<accountId>`` in a comment to the ``[aid]`` marker,
|
|
1337
|
+
in place, with one space after it unless whitespace already follows."""
|
|
1338
|
+
text = message or ""
|
|
1339
|
+
|
|
1340
|
+
def _sub(m: "re.Match[str]") -> str:
|
|
1341
|
+
follow = text[m.end():m.end() + 1]
|
|
1342
|
+
sep = "" if not follow or follow.isspace() else " "
|
|
1343
|
+
return f"[aid]{m.group(1)}[/aid]{sep}"
|
|
1344
|
+
|
|
1345
|
+
return _INLINE_MENTION_RE.sub(_sub, text)
|
|
1346
|
+
|
|
1347
|
+
|
|
1308
1348
|
def _resolve_mentions(
|
|
1309
1349
|
text: Any,
|
|
1310
1350
|
users: Any,
|
|
@@ -186,9 +186,10 @@ hap worksheet record add-discussion <WS_ID> <ROW_ID> -m "For everyone" --at-all
|
|
|
186
186
|
`hap contact search`.
|
|
187
187
|
- `--at-all` mentions everyone taking part in this record — its members plus
|
|
188
188
|
anyone who has commented.
|
|
189
|
-
-
|
|
190
|
-
|
|
191
|
-
|
|
189
|
+
- To mention someone **mid-sentence**, write `user:<accountId>` where the
|
|
190
|
+
mention belongs, e.g. `-m "Thanks user:<accountId> for checking"`; it stays in
|
|
191
|
+
place and notifies them. `--at` / `--at-all` append their mentions at the end.
|
|
192
|
+
Typing `@name` into the text yourself is just characters and notifies nobody.
|
|
192
193
|
|
|
193
194
|
Read it back with `hap worksheet record discussions <WS_ID> <ROW_ID>`. The two
|
|
194
195
|
read back differently: **a named person appears in the returned `mentions`**
|
|
@@ -164,8 +164,9 @@ hap worksheet record add-discussion <WS_ID> <ROW_ID> -m "都看一下" --at-all
|
|
|
164
164
|
|
|
165
165
|
- `--at` 按账号 ID 点名,可重复;账号 ID 用 `hap contact search` 查。
|
|
166
166
|
- `--at-all` 提及这条记录的全体参与者(记录成员,加上所有参与过讨论的人)。
|
|
167
|
-
-
|
|
168
|
-
|
|
167
|
+
- 想在正文**中间** @ 人,就在那个位置写 `user:<账号ID>`,例如
|
|
168
|
+
`-m "我 user:<账号ID> 来看一下"`,提及会留在原处并通知到人。`--at` / `--at-all`
|
|
169
|
+
则把提及补在末尾。在正文里手写 `@某某` 只是几个普通汉字,不会真的通知到人。
|
|
169
170
|
|
|
170
171
|
回读用 `hap worksheet record discussions <WS_ID> <ROW_ID>`。注意两者回读不一样:
|
|
171
172
|
**点名的人会出现在返回的 `mentions` 里**(带账号 ID 和姓名),而 `--at-all` 不会
|
|
@@ -3172,8 +3172,8 @@
|
|
|
3172
3172
|
"zh-Hans": "以 JSON 格式输出"
|
|
3173
3173
|
},
|
|
3174
3174
|
"calendar add-discussion": {
|
|
3175
|
-
"en": "Post a comment on a calendar event.\n\nEveryone invited to the event can see the comment. Attached files are\ndownloadable by every participant.
|
|
3176
|
-
"zh-Hans": "在日程下发表评论。\n\n
|
|
3175
|
+
"en": "Post a comment on a calendar event.\n\nEveryone invited to the event can see the comment. Attached files are\ndownloadable by every participant. To mention someone mid-sentence,\nwrite user:<accountId> where the mention belongs. --at and --at-all\nadd mentions at the end of the comment instead. Either way the\npeople named are notified.",
|
|
3176
|
+
"zh-Hans": "在日程下发表评论。\n\n受邀参加该日程的人都能看到这条评论,附件所有参与者都可下载。想在正文中间提及某人,就在那个位置写 user:<账号ID>。--at 和 --at-all 则把提及补在正文末尾。两种写法被点到的人都会收到通知。"
|
|
3177
3177
|
},
|
|
3178
3178
|
"calendar add-discussion --at": {
|
|
3179
3179
|
"en": "Notify one person by their account ID (repeatable). Find IDs with 'hap contact search'.",
|
|
@@ -6404,8 +6404,8 @@
|
|
|
6404
6404
|
"zh-Hans": "以 JSON 格式输出"
|
|
6405
6405
|
},
|
|
6406
6406
|
"worksheet record add-discussion": {
|
|
6407
|
-
"en": "Add a discussion/comment to a record.\n\
|
|
6408
|
-
"zh-Hans": "在记录下发表讨论。\n\n
|
|
6407
|
+
"en": "Add a discussion/comment to a record.\n\nTo mention someone mid-sentence, write user:<accountId> where the\nmention belongs, e.g. -m \"Thanks user:<accountId> for checking\".\n--at and --at-all add mentions at the end of the comment instead.\nEither way the people named are notified.",
|
|
6408
|
+
"zh-Hans": "在记录下发表讨论。\n\n想在正文中间提及某人,就在那个位置写 user:<账号ID>,例如 -m \"我 user:<账号ID> 来看一下\"。--at 和 --at-all 则把提及补在正文末尾。两种写法被点到的人都会收到通知。"
|
|
6409
6409
|
},
|
|
6410
6410
|
"worksheet record add-discussion --app-id": {
|
|
6411
6411
|
"en": "Application ID (auto-detected from the worksheet if omitted)",
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
{hap_cli-0.9.14 → hap_cli-0.9.15}/hap_cli/core/app_creator/seed/resources/sample_images.json
RENAMED
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|